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
73 pptr = skb_header_pointer(skb, offset_ph, sizeof(_pkthdr), in ebt_ip6_mt()
75 if (pptr == NULL) in ebt_ip6_mt()
78 u16 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip6_mt()
84 u16 src = ntohs(pptr->tcpudphdr.src); in ebt_ip6_mt()
90 FWINV(pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt()
91 pptr->icmphdr.type > info->icmpv6_type[1] || in ebt_ip6_mt()
92 pptr->icmphdr.code < info->icmpv6_code[0] || in ebt_ip6_mt()
93 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.c415 __be16 _ports[2], *pptr; in ip_vs_schedule() local
422 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports, iph); in ip_vs_schedule()
423 if (pptr == NULL) in ip_vs_schedule()
432 if (pptr[0] == FTPDATA) { in ip_vs_schedule()
453 return ip_vs_sched_persist(svc, skb, pptr[0], pptr[1], ignored, in ip_vs_schedule()
461 if (!svc->fwmark && pptr[1] != svc->port) { in ip_vs_schedule()
493 &iph->saddr, pptr[0], &iph->daddr, in ip_vs_schedule()
494 pptr[1], &p); in ip_vs_schedule()
496 dest->port ? dest->port : pptr[1], in ip_vs_schedule()
525 __be16 _ports[2], *pptr; in ip_vs_leave() local
[all …]
Dip_vs_conn.c321 __be16 _ports[2], *pptr; in ip_vs_conn_fill_param_proto() local
324 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports, iph); in ip_vs_conn_fill_param_proto()
325 if (pptr == NULL) in ip_vs_conn_fill_param_proto()
330 pptr[0], &iph->daddr, pptr[1], p); in ip_vs_conn_fill_param_proto()
333 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.c761 struct rb_node **pptr; in htb_lookup_leaf() member
767 sp->pptr = &hprio->ptr; in htb_lookup_leaf()
771 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf()
775 *sp->pptr = in htb_lookup_leaf()
781 if (!*sp->pptr) { /* we are at right end; rewind & go up */ in htb_lookup_leaf()
782 *sp->pptr = sp->root; in htb_lookup_leaf()
783 while ((*sp->pptr)->rb_left) in htb_lookup_leaf()
784 *sp->pptr = (*sp->pptr)->rb_left; in htb_lookup_leaf()
787 if (!*sp->pptr) { in htb_lookup_leaf()
791 htb_next_rb_node(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()