Searched refs:pptr (Results 1 – 8 of 8) sorted by relevance
/net/bridge/netfilter/ |
D | ebt_ip.c | 43 const union pkthdr *pptr; in ebt_ip_mt() local 70 pptr = skb_header_pointer(skb, ih->ihl*4, in ebt_ip_mt() 72 if (pptr == NULL) in ebt_ip_mt() 75 u32 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip_mt() 82 u32 src = ntohs(pptr->tcpudphdr.src); in ebt_ip_mt() 90 pptr->icmphdr.type < info->icmp_type[0] || in ebt_ip_mt() 91 pptr->icmphdr.type > info->icmp_type[1] || in ebt_ip_mt() 92 pptr->icmphdr.code < info->icmp_code[0] || in ebt_ip_mt() 93 pptr->icmphdr.code > info->icmp_code[1])) in ebt_ip_mt() 97 pptr->igmphdr.type < info->igmp_type[0] || in ebt_ip_mt() [all …]
|
D | ebt_ip6.c | 43 const union pkthdr *pptr; in ebt_ip6_mt() local 77 pptr = skb_header_pointer(skb, offset_ph, sizeof(_pkthdr), in ebt_ip6_mt() 79 if (pptr == NULL) in ebt_ip6_mt() 82 u16 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip6_mt() 89 u16 src = ntohs(pptr->tcpudphdr.src); in ebt_ip6_mt() 97 pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt() 98 pptr->icmphdr.type > info->icmpv6_type[1] || in ebt_ip6_mt() 99 pptr->icmphdr.code < info->icmpv6_code[0] || in ebt_ip6_mt() 100 pptr->icmphdr.code > info->icmpv6_code[1])) in ebt_ip6_mt()
|
D | ebt_log.c | 60 const struct tcpudphdr *pptr; in print_ports() local 63 pptr = skb_header_pointer(skb, offset, in print_ports() 65 if (pptr == NULL) { in print_ports() 69 pr_cont(" SPT=%u DPT=%u", ntohs(pptr->src), ntohs(pptr->dst)); in print_ports()
|
/net/netfilter/ipvs/ |
D | ip_vs_proto.c | 229 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v4() local 231 pptr = skb_header_pointer(skb, offset + ih->ihl*4, in ip_vs_tcpudp_debug_packet_v4() 233 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v4() 238 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4() 239 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4() 261 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v6() local 263 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr), in ip_vs_tcpudp_debug_packet_v6() 265 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v6() 270 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v6() 271 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v6()
|
D | ip_vs_core.c | 449 __be16 _ports[2], *pptr, cport, vport; in ip_vs_schedule() local 457 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports); in ip_vs_schedule() 458 if (pptr == NULL) in ip_vs_schedule() 462 cport = pptr[0]; in ip_vs_schedule() 464 vport = pptr[1]; in ip_vs_schedule() 467 cport = pptr[1]; in ip_vs_schedule() 469 vport = pptr[0]; in ip_vs_schedule() 588 __be16 _ports[2], *pptr, dport; in ip_vs_leave() local 592 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports); in ip_vs_leave() 593 if (!pptr) in ip_vs_leave() [all …]
|
D | ip_vs_conn.c | 319 __be16 _ports[2], *pptr; in ip_vs_conn_fill_param_proto() local 321 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports); in ip_vs_conn_fill_param_proto() 322 if (pptr == NULL) in ip_vs_conn_fill_param_proto() 327 pptr[0], &iph->daddr, pptr[1], p); in ip_vs_conn_fill_param_proto() 330 pptr[1], &iph->saddr, pptr[0], p); in ip_vs_conn_fill_param_proto()
|
/net/netfilter/ |
D | xt_multiport.c | 88 const __be16 *pptr; in multiport_mt() local 95 pptr = skb_header_pointer(skb, par->thoff, sizeof(_ports), _ports); in multiport_mt() 96 if (pptr == NULL) { in multiport_mt() 105 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1])); in multiport_mt()
|
/net/sched/ |
D | sch_htb.c | 816 struct rb_node **pptr; in htb_lookup_leaf() member 822 sp->pptr = &hprio->ptr; in htb_lookup_leaf() 826 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf() 830 *sp->pptr = in htb_lookup_leaf() 836 if (!*sp->pptr) { /* we are at right end; rewind & go up */ in htb_lookup_leaf() 837 *sp->pptr = sp->root; in htb_lookup_leaf() 838 while ((*sp->pptr)->rb_left) in htb_lookup_leaf() 839 *sp->pptr = (*sp->pptr)->rb_left; in htb_lookup_leaf() 842 if (!*sp->pptr) { in htb_lookup_leaf() 846 htb_next_rb_node(sp->pptr); in htb_lookup_leaf() [all …]
|