/net/bridge/netfilter/ |
D | ebt_ip6.c | 42 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()
|
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 | 415 __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 …]
|
D | ip_vs_conn.c | 321 __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/ |
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 | 761 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/ |
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()
|