Searched refs:newport (Results 1 – 6 of 6) sorted by relevance
/net/netfilter/ |
D | nf_nat_proto.c | 44 __be16 *portptr, newport; in __udp_manip_pkt() local 48 newport = tuple->src.u.udp.port; in __udp_manip_pkt() 52 newport = tuple->dst.u.udp.port; in __udp_manip_pkt() 57 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, in __udp_manip_pkt() 62 *portptr = newport; in __udp_manip_pkt() 147 __be16 *portptr, newport, oldport; in tcp_manip_pkt() local 163 newport = tuple->src.u.tcp.port; in tcp_manip_pkt() 167 newport = tuple->dst.u.tcp.port; in tcp_manip_pkt() 172 *portptr = newport; in tcp_manip_pkt() 178 inet_proto_csum_replace2(&hdr->check, skb, oldport, newport, false); in tcp_manip_pkt() [all …]
|
D | nf_nat_sip.c | 105 __be16 newport; in map_addr() local 110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr() 114 newport = ct_sip_info->forced_dport ? : in map_addr() 119 if (nf_inet_addr_cmp(&newaddr, addr) && newport == port) in map_addr() 122 buflen = sip_sprintf_addr_port(ct, buffer, &newaddr, ntohs(newport)); in map_addr()
|
/net/netfilter/ipvs/ |
D | ip_vs_proto_udp.c | 96 __be16 oldport, __be16 newport) in udp_fast_csum_update() argument 102 ip_vs_check_diff2(oldport, newport, in udp_fast_csum_update() 108 ip_vs_check_diff2(oldport, newport, in udp_fast_csum_update()
|
D | ip_vs_proto_tcp.c | 108 __be16 oldport, __be16 newport) in tcp_fast_csum_update() argument 114 ip_vs_check_diff2(oldport, newport, in tcp_fast_csum_update() 120 ip_vs_check_diff2(oldport, newport, in tcp_fast_csum_update()
|
/net/ipv4/ |
D | udp_offload.c | 189 __be16 *oldport, __be16 *newport) in __udpv4_gso_segment_csum() argument 194 if (*oldip == *newip && *oldport == *newport) in __udpv4_gso_segment_csum() 203 inet_proto_csum_replace2(&uh->check, seg, *oldport, *newport, in __udpv4_gso_segment_csum() 208 *oldport = *newport; in __udpv4_gso_segment_csum()
|
/net/sunrpc/ |
D | svc_xprt.c | 280 unsigned short newport; in _svc_create_xprt() local 296 newport = svc_xprt_local_port(newxprt); in _svc_create_xprt() 297 return newport; in _svc_create_xprt()
|