Searched refs:newport (Results 1 – 8 of 8) sorted by relevance
/net/netfilter/ |
D | nf_nat_proto_tcp.c | 42 __be16 *portptr, newport, oldport; in tcp_manip_pkt() local 58 newport = tuple->src.u.tcp.port; in tcp_manip_pkt() 62 newport = tuple->dst.u.tcp.port; in tcp_manip_pkt() 67 *portptr = newport; in tcp_manip_pkt() 73 inet_proto_csum_replace2(&hdr->check, skb, oldport, newport, false); in tcp_manip_pkt()
|
D | nf_nat_proto_udp.c | 41 __be16 *portptr, newport; in udp_manip_pkt() local 49 newport = tuple->src.u.udp.port; in udp_manip_pkt() 53 newport = tuple->dst.u.udp.port; in udp_manip_pkt() 59 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, in udp_manip_pkt() 64 *portptr = newport; in udp_manip_pkt()
|
D | nf_nat_proto_udplite.c | 41 __be16 *portptr, newport; in udplite_manip_pkt() local 50 newport = tuple->src.u.udp.port; in udplite_manip_pkt() 54 newport = tuple->dst.u.udp.port; in udplite_manip_pkt() 59 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, false); in udplite_manip_pkt() 63 *portptr = newport; in udplite_manip_pkt()
|
D | nf_nat_proto_dccp.c | 44 __be16 *portptr, oldport, newport; in dccp_manip_pkt() local 56 newport = tuple->src.u.dccp.port; in dccp_manip_pkt() 59 newport = tuple->dst.u.dccp.port; in dccp_manip_pkt() 64 *portptr = newport; in dccp_manip_pkt() 71 inet_proto_csum_replace2(&hdr->dccph_checksum, skb, oldport, newport, in dccp_manip_pkt()
|
D | nf_nat_sip.c | 103 __be16 newport; in map_addr() local 108 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr() 112 newport = ct_sip_info->forced_dport ? : in map_addr() 117 if (nf_inet_addr_cmp(&newaddr, addr) && newport == port) in map_addr() 120 buflen = sip_sprintf_addr_port(ct, buffer, &newaddr, ntohs(newport)); in map_addr()
|
/net/netfilter/ipvs/ |
D | ip_vs_proto_udp.c | 101 __be16 oldport, __be16 newport) in udp_fast_csum_update() argument 107 ip_vs_check_diff2(oldport, newport, in udp_fast_csum_update() 113 ip_vs_check_diff2(oldport, newport, in udp_fast_csum_update()
|
D | ip_vs_proto_tcp.c | 112 __be16 oldport, __be16 newport) in tcp_fast_csum_update() argument 118 ip_vs_check_diff2(oldport, newport, in tcp_fast_csum_update() 124 ip_vs_check_diff2(oldport, newport, in tcp_fast_csum_update()
|
/net/sunrpc/ |
D | svc_xprt.c | 262 unsigned short newport; in _svc_create_xprt() local 277 newport = svc_xprt_local_port(newxprt); in _svc_create_xprt() 278 return newport; in _svc_create_xprt()
|