Lines Matching defs:ud

337 	struct udphdr *ud;
345 ud = (struct udphdr *)ip_next(ip);
351 ud->uh_dport, ud->uh_sport,
377 accumulate += ud->uh_sport;
394 ud->uh_sport = original_port;
526 struct udphdr *ud;
534 ud = (struct udphdr *)ip_next(ip);
540 ud->uh_dport, ud->uh_sport,
566 accumulate += ud->uh_dport;
582 ud->uh_dport = alias_port;
728 struct udphdr *ud;
737 ud = (struct udphdr *)ip_next(pip);
738 if (!MF_ISSET(pip) && dlen < ntohs(ud->uh_ulen))
740 return (ud);
746 struct udphdr *ud;
751 ud = ValidateUdpLength(pip);
752 if (ud == NULL)
756 ud->uh_sport, ud->uh_dport,
771 .sport = &ud->uh_sport,
772 .dport = &ud->uh_dport,
779 alias_port = ud->uh_dport;
780 ud->uh_dport = GetOriginalPort(lnk);
792 if (ud->uh_sum != 0) {
794 accumulate -= ud->uh_dport;
801 accumulate += ud->uh_sport;
810 ADJUST_CHECKSUM(accumulate, ud->uh_sum);
816 ud->uh_sport = proxy_port;
837 struct udphdr *ud;
847 ud = ValidateUdpLength(pip);
848 if (ud == NULL)
853 pip->ip_src, pip->ip_dst, ud->uh_dport, pip->ip_p);
859 dest_port = ud->uh_dport;
870 if (ud->uh_sum != 0) {
873 accumulate += ud->uh_dport;
875 ADJUST_CHECKSUM(accumulate, ud->uh_sum);
878 ud->uh_dport = proxy_server_port;
881 ud->uh_sport, ud->uh_dport,
891 .sport = &ud->uh_sport,
892 .dport = &ud->uh_dport,
903 ud = (struct udphdr *)ip_next(pip);
914 if (ud->uh_sum != 0) {
917 accumulate = ud->uh_sport;
921 ADJUST_CHECKSUM(accumulate, ud->uh_sum);
924 ud->uh_sport = alias_port;
999 .sport = &ud->uh_sport,
1000 .dport = &ud->uh_dport,
1566 struct udphdr *ud;
1579 ud = (struct udphdr *)ip_next(pip);
1586 ud->uh_dport, ud->uh_sport,
1612 accumulate += ud->uh_sport;
1614 ADJUST_CHECKSUM(accumulate, ud->uh_sum);
1628 ud->uh_sport = original_port;