/net/bridge/netfilter/ |
D | ebt_ip6.c | 42 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()
|
D | ebt_ip.c | 33 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()
|
D | ebt_log.c | 61 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/ |
D | ip_vs_proto.c | 253 __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()
|
D | ip_vs_core.c | 400 __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 …]
|
D | ip_vs_conn.c | 313 __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/ |
D | xt_multiport.c | 77 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()
|
D | xt_AUDIT.c | 41 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/ |
D | sch_htb.c | 732 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/ |
D | dn_nsp_in.c | 182 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()
|