Searched refs:pptr (Results 1 – 8 of 8) sorted by relevance
| /net/bridge/netfilter/ |
| A 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 …]
|
| A 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()
|
| A 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/ |
| A 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()
|
| A D | ip_vs_core.c | 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() 593 if (!pptr) in ip_vs_leave() 595 dport = likely(!ip_vs_iph_inverse(iph)) ? pptr[1] : pptr[0]; in ip_vs_leave() 1234 if (!pptr) in __ip_vs_rs_conn_out() 1248 pptr[0], pptr[1]); in __ip_vs_rs_conn_out() 1429 if (pptr == NULL) in ip_vs_out_hook() [all …]
|
| A 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/ |
| A 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/ |
| A D | sch_htb.c | 820 struct rb_node **pptr; in htb_lookup_leaf() member 828 sp->pptr = &hprio->ptr; in htb_lookup_leaf() 832 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf() 836 *sp->pptr = in htb_lookup_leaf() 843 *sp->pptr = sp->root; in htb_lookup_leaf() 844 while ((*sp->pptr)->rb_left) in htb_lookup_leaf() 845 *sp->pptr = (*sp->pptr)->rb_left; in htb_lookup_leaf() 848 if (!*sp->pptr) { in htb_lookup_leaf() 852 htb_next_rb_node(sp->pptr); in htb_lookup_leaf() 858 cl = rb_entry(*sp->pptr, struct htb_class, node[prio]); in htb_lookup_leaf() [all …]
|
Completed in 23 milliseconds