Home
last modified time | relevance | path

Searched refs:newport (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/net/ipv4/netfilter/
Dnf_nat_proto_tcp.c43 __be16 *portptr, newport, oldport; in tcp_manip_pkt() local
62 newport = tuple->src.u.tcp.port; in tcp_manip_pkt()
68 newport = tuple->dst.u.tcp.port; in tcp_manip_pkt()
73 *portptr = newport; in tcp_manip_pkt()
79 inet_proto_csum_replace2(&hdr->check, skb, oldport, newport, 0); in tcp_manip_pkt()
Dnf_nat_proto_udp.c42 __be16 *portptr, newport; in udp_manip_pkt() local
54 newport = tuple->src.u.udp.port; in udp_manip_pkt()
60 newport = tuple->dst.u.udp.port; in udp_manip_pkt()
65 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, in udp_manip_pkt()
70 *portptr = newport; in udp_manip_pkt()
Dnf_nat_proto_udplite.c42 __be16 *portptr, newport; in udplite_manip_pkt() local
54 newport = tuple->src.u.udp.port; in udplite_manip_pkt()
60 newport = tuple->dst.u.udp.port; in udplite_manip_pkt()
65 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, 0); in udplite_manip_pkt()
69 *portptr = newport; in udplite_manip_pkt()
Dnf_nat_proto_dccp.c45 __be16 *portptr, oldport, newport; in dccp_manip_pkt() local
60 newport = tuple->src.u.dccp.port; in dccp_manip_pkt()
65 newport = tuple->dst.u.dccp.port; in dccp_manip_pkt()
70 *portptr = newport; in dccp_manip_pkt()
76 inet_proto_csum_replace2(&hdr->dccph_checksum, skb, oldport, newport, in dccp_manip_pkt()
Dnf_nat_sip.c79 __be16 newport; in map_addr() local
84 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr()
88 newport = ct->tuplehash[!dir].tuple.src.u.udp.port; in map_addr()
92 if (newaddr == addr->ip && newport == port) in map_addr()
95 buflen = sprintf(buffer, "%pI4:%u", &newaddr, ntohs(newport)); in map_addr()
/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_proto_udp.c88 __be16 oldport, __be16 newport) in udp_fast_csum_update() argument
94 ip_vs_check_diff2(oldport, newport, in udp_fast_csum_update()
100 ip_vs_check_diff2(oldport, newport, in udp_fast_csum_update()
Dip_vs_proto_tcp.c92 __be16 oldport, __be16 newport) in tcp_fast_csum_update() argument
98 ip_vs_check_diff2(oldport, newport, in tcp_fast_csum_update()
104 ip_vs_check_diff2(oldport, newport, in tcp_fast_csum_update()
/linux-3.4.99/net/sunrpc/
Dsvc_xprt.c221 unsigned short newport; in svc_create_xprt() local
240 newport = svc_xprt_local_port(newxprt); in svc_create_xprt()
242 return newport; in svc_create_xprt()
/linux-3.4.99/
DCREDITS394 D: newport abscon driver, g364 framebuffer driver