Home
last modified time | relevance | path

Searched refs:portptr (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/net/ipv4/netfilter/
Dnf_nat_proto_common.c44 __be16 *portptr; in nf_nat_proto_unique_tuple() local
48 portptr = &tuple->src.u.all; in nf_nat_proto_unique_tuple()
50 portptr = &tuple->dst.u.all; in nf_nat_proto_unique_tuple()
58 if (ntohs(*portptr) < 1024) { in nf_nat_proto_unique_tuple()
60 if (ntohs(*portptr) < 512) { in nf_nat_proto_unique_tuple()
85 *portptr = htons(min + off % range_size); in nf_nat_proto_unique_tuple()
Dnf_nat_proto_udp.c41 __be16 *portptr, newport; in udp_manip_pkt() local
54 portptr = &hdr->source; in udp_manip_pkt()
60 portptr = &hdr->dest; in udp_manip_pkt()
64 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, in udp_manip_pkt()
69 *portptr = newport; in udp_manip_pkt()
Dnf_nat_proto_tcp.c42 __be16 *portptr, newport, oldport; in tcp_manip_pkt() local
62 portptr = &hdr->source; in tcp_manip_pkt()
68 portptr = &hdr->dest; in tcp_manip_pkt()
71 oldport = *portptr; in tcp_manip_pkt()
72 *portptr = newport; in tcp_manip_pkt()
Dnf_nat_proto_udplite.c41 __be16 *portptr, newport; in udplite_manip_pkt() local
54 portptr = &hdr->source; in udplite_manip_pkt()
60 portptr = &hdr->dest; in udplite_manip_pkt()
64 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, 0); in udplite_manip_pkt()
68 *portptr = newport; in udplite_manip_pkt()
Dnf_nat_proto_dccp.c45 __be16 *portptr, oldport, newport; in dccp_manip_pkt() local
61 portptr = &hdr->dccph_sport; in dccp_manip_pkt()
66 portptr = &hdr->dccph_dport; in dccp_manip_pkt()
69 oldport = *portptr; in dccp_manip_pkt()
70 *portptr = newport; in dccp_manip_pkt()
/linux-2.6.39/drivers/sh/maple/
Dmaple.c406 static int check_maple_device(struct device *device, void *portptr) in check_maple_device() argument
411 ds = portptr; in check_maple_device()