Lines Matching defs:oport
803 uint16_t oport, nport;
811 nport = oport = ntohs(udp.uh_sport);
819 if (oport < g->src_ip.port1) {
820 nport = oport + 1;
841 if (oport != nport) {
842 udp_sum = cksum_add(udp_sum, ~oport);
847 nport = oport = ntohs(udp.uh_dport);
855 if (oport < g->dst_ip.port1) {
856 nport = oport + 1;
877 if (oport != nport) {
878 udp_sum = cksum_add(udp_sum, ~oport);
902 uint16_t oport, nport;
911 nport = oport = ntohs(udp.uh_sport);
919 if (oport < g->src_ip.port1) {
920 nport = oport + 1;
937 if (oport != nport)
939 cksum_add(~oport, nport));
943 nport = oport = ntohs(udp.uh_dport);
951 if (oport < g->dst_ip.port1) {
952 nport = oport + 1;
970 if (oport != nport)
972 cksum_add(~oport, nport));