Home
last modified time | relevance | path

Searched refs:pptr (Results 1 – 10 of 10) sorted by relevance

/net/bridge/netfilter/
Debt_ip6.c42 const union pkthdr *pptr; in ebt_ip6_mt() local
71 pptr = skb_header_pointer(skb, offset_ph, sizeof(_pkthdr), in ebt_ip6_mt()
73 if (pptr == NULL) in ebt_ip6_mt()
76 u16 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip6_mt()
82 u16 src = ntohs(pptr->tcpudphdr.src); in ebt_ip6_mt()
88 FWINV(pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt()
89 pptr->icmphdr.type > info->icmpv6_type[1] || in ebt_ip6_mt()
90 pptr->icmphdr.code < info->icmpv6_code[0] || in ebt_ip6_mt()
91 pptr->icmphdr.code > info->icmpv6_code[1], in ebt_ip6_mt()
Debt_ip.c33 const struct tcpudphdr *pptr; in ebt_ip_mt() local
58 pptr = skb_header_pointer(skb, ih->ihl*4, in ebt_ip_mt()
60 if (pptr == NULL) in ebt_ip_mt()
63 u32 dst = ntohs(pptr->dst); in ebt_ip_mt()
70 u32 src = ntohs(pptr->src); in ebt_ip_mt()
Debt_log.c61 const struct tcpudphdr *pptr; in print_ports() local
64 pptr = skb_header_pointer(skb, offset, in print_ports()
66 if (pptr == NULL) { in print_ports()
70 printk(" SPT=%u DPT=%u", ntohs(pptr->src), ntohs(pptr->dst)); in print_ports()
/net/netfilter/ipvs/
Dip_vs_proto.c253 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v4() local
255 pptr = skb_header_pointer(skb, offset + ih->ihl*4, in ip_vs_tcpudp_debug_packet_v4()
257 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v4()
262 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4()
263 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4()
285 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v6() local
287 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr), in ip_vs_tcpudp_debug_packet_v6()
289 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v6()
294 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v6()
295 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v6()
Dip_vs_core.c400 __be16 _ports[2], *pptr; in ip_vs_schedule() local
407 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports, iph); in ip_vs_schedule()
408 if (pptr == NULL) in ip_vs_schedule()
417 if (pptr[0] == FTPDATA) { in ip_vs_schedule()
438 return ip_vs_sched_persist(svc, skb, pptr[0], pptr[1], ignored, in ip_vs_schedule()
446 if (!svc->fwmark && pptr[1] != svc->port) { in ip_vs_schedule()
472 &iph->saddr, pptr[0], &iph->daddr, in ip_vs_schedule()
473 pptr[1], &p); in ip_vs_schedule()
475 dest->port ? dest->port : pptr[1], in ip_vs_schedule()
504 __be16 _ports[2], *pptr; in ip_vs_leave() local
[all …]
Dip_vs_conn.c313 __be16 _ports[2], *pptr; in ip_vs_conn_fill_param_proto() local
316 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports, iph); in ip_vs_conn_fill_param_proto()
317 if (pptr == NULL) in ip_vs_conn_fill_param_proto()
322 pptr[0], &iph->daddr, pptr[1], p); in ip_vs_conn_fill_param_proto()
325 pptr[1], &iph->saddr, pptr[0], p); in ip_vs_conn_fill_param_proto()
/net/netfilter/
Dxt_multiport.c77 const __be16 *pptr; in multiport_mt() local
84 pptr = skb_header_pointer(skb, par->thoff, sizeof(_ports), _ports); in multiport_mt()
85 if (pptr == NULL) { in multiport_mt()
94 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1])); in multiport_mt()
Dxt_AUDIT.c41 const __be16 *pptr; in audit_proto() local
44 pptr = skb_header_pointer(skb, offset, sizeof(_ports), _ports); in audit_proto()
45 if (pptr == NULL) { in audit_proto()
51 ntohs(pptr[0]), ntohs(pptr[1])); in audit_proto()
/net/sched/
Dsch_htb.c732 struct rb_node **pptr, u32 * pid) in htb_lookup_leaf() argument
737 struct rb_node **pptr; in htb_lookup_leaf() member
743 sp->pptr = pptr; in htb_lookup_leaf()
747 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf()
751 *sp->pptr = in htb_lookup_leaf()
757 if (!*sp->pptr) { /* we are at right end; rewind & go up */ in htb_lookup_leaf()
758 *sp->pptr = sp->root; in htb_lookup_leaf()
759 while ((*sp->pptr)->rb_left) in htb_lookup_leaf()
760 *sp->pptr = (*sp->pptr)->rb_left; in htb_lookup_leaf()
763 if (!*sp->pptr) { in htb_lookup_leaf()
[all …]
/net/decnet/
Ddn_nsp_in.c182 static inline int dn_check_idf(unsigned char **pptr, int *len, unsigned char max, unsigned char fol… in dn_check_idf() argument
184 unsigned char *ptr = *pptr; in dn_check_idf()
194 *pptr = ptr + flen; in dn_check_idf()