/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/ |
H A D | exthdrs_core.c | 8 * find out if nexthdr is a well-known extension header or a protocol 11 int ipv6_ext_hdr(u8 nexthdr) argument 14 * find out if nexthdr is an extension header or a protocol 16 return ( (nexthdr == NEXTHDR_HOP) || 17 (nexthdr == NEXTHDR_ROUTING) || 18 (nexthdr == NEXTHDR_FRAGMENT) || 19 (nexthdr == NEXTHDR_AUTH) || 20 (nexthdr == NEXTHDR_NONE) || 21 (nexthdr == NEXTHDR_DEST) ); 50 * If it is not NULL *nexthdr i 68 u8 nexthdr = *nexthdrp; local [all...] |
H A D | mip6.c | 140 return destopt->nexthdr; 152 u8 nexthdr; local 158 nexthdr = *skb_network_header(skb); 162 dstopt->nexthdr = nexthdr; 257 u8 **nexthdr) 266 *nexthdr = &ipv6_hdr(skb)->nexthdr; 270 switch (**nexthdr) { 291 *nexthdr 256 mip6_destopt_offset(struct xfrm_state *x, struct sk_buff *skb, u8 **nexthdr) argument 360 u8 nexthdr; local 383 mip6_rthdr_offset(struct xfrm_state *x, struct sk_buff *skb, u8 **nexthdr) argument [all...] |
H A D | ip6_input.c | 105 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); 110 if (pkt_len || hdr->nexthdr != NEXTHDR_HOP) { 122 if (hdr->nexthdr == NEXTHDR_HOP) { 152 int nexthdr; local 166 nexthdr = skb_network_header(skb)[nhoff]; 168 raw_sk = sk_head(&raw_v6_htable[nexthdr & (MAX_INET_PROTOS - 1)]); 169 if (raw_sk && !ipv6_raw_deliver(skb, nexthdr)) 172 hash = nexthdr & (MAX_INET_PROTOS - 1); 190 !ipv6_is_mld(skb, nexthdr)) 259 if(hdr->nexthdr [all...] |
H A D | xfrm6_input.c | 27 int nexthdr; local 31 nexthdr = skb_network_header(skb)[nhoff]; 34 if (!spi && (err = xfrm_parse_spi(skb, nexthdr, &spi, &seq)) != 0) 44 nexthdr != IPPROTO_IPIP ? nexthdr : IPPROTO_IPV6, AF_INET6); 57 nexthdr = x->type->input(x, skb); 58 if (nexthdr <= 0) 61 skb_network_header(skb)[nhoff] = nexthdr; 81 if ((err = xfrm_parse_spi(skb, nexthdr, &spi, &seq)) < 0)
|
H A D | ah6.c | 185 int nexthdr = iph->nexthdr; local 190 switch (nexthdr) { 200 nexthdr == NEXTHDR_HOP ? 214 nexthdr = exthdr.opth->nexthdr; 228 u8 nexthdr; local 241 nexthdr = *skb_network_header(skb); 272 ah->nexthdr = nexthdr; 333 int nexthdr; local [all...] |
H A D | xfrm6_mode_tunnel.c | 59 skb->network_header += offsetof(struct ipv6hdr, nexthdr); 67 top_iph->nexthdr = IPPROTO_IPV6; 73 top_iph->nexthdr = IPPROTO_IPIP;
|
H A D | xfrm6_policy.c | 274 u8 nexthdr = nh[IP6CB(skb)->nhoff]; local 284 switch (nexthdr) { 289 nexthdr = exthdr->nexthdr; 304 fl->proto = nexthdr; 314 fl->proto = nexthdr; 325 fl->proto = nexthdr; 334 fl->proto = nexthdr;
|
H A D | icmp.c | 134 __u8 nexthdr = ipv6_hdr(skb)->nexthdr; local 139 ptr = ipv6_skip_exthdr(skb, ptr, &nexthdr); 142 if (nexthdr == IPPROTO_ICMPV6) { 571 u8 nexthdr; local 576 nexthdr = ((struct ipv6hdr *)skb->data)->nexthdr; 577 if (ipv6_ext_hdr(nexthdr)) { 579 inner_offset = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr); 600 hash = nexthdr [all...] |
H A D | ip6_output.c | 227 hdr->nexthdr = proto; 281 hdr->nexthdr = proto; 322 u8 nexthdr = hdr->nexthdr; local 325 if (ipv6_ext_hdr(nexthdr)) { 326 offset = ipv6_skip_exthdr(skb, sizeof(*hdr), &nexthdr); 332 if (nexthdr == IPPROTO_ICMPV6) { 534 int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr) argument 541 *nexthdr = &ipv6_hdr(skb)->nexthdr; 585 u8 *prevhdr, nexthdr = 0; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/ |
H A D | ip6t_ipv6header.c | 42 u8 nexthdr; local 48 nexthdr = ipv6_hdr(skb)->nexthdr; 55 while (ip6t_ext_hdr(nexthdr)) { 63 if (nexthdr == NEXTHDR_NONE) { 68 if (nexthdr == NEXTHDR_ESP) { 77 if (nexthdr == NEXTHDR_FRAGMENT) { 79 } else if (nexthdr == NEXTHDR_AUTH) 85 switch (nexthdr) { 106 nexthdr [all...] |
H A D | nf_conntrack_l3proto_ipv6.c | 79 * if success, *nexthdr is updated by type/protocol of this header. 94 u8 nexthdr = *nexthdrp; local 96 while (ipv6_ext_hdr(nexthdr)) { 102 if (nexthdr == NEXTHDR_NONE) 104 if (nexthdr == NEXTHDR_FRAGMENT) 108 if (nexthdr == NEXTHDR_AUTH) 113 nexthdr = hdr.nexthdr; 118 *nexthdrp = nexthdr; 127 unsigned char pnum = ipv6_hdr(*pskb)->nexthdr; [all...] |
H A D | ip6_tables.c | 77 ip6t_ext_hdr(u8 nexthdr) argument 79 return ( (nexthdr == IPPROTO_HOPOPTS) || 80 (nexthdr == IPPROTO_ROUTING) || 81 (nexthdr == IPPROTO_FRAGMENT) || 82 (nexthdr == IPPROTO_ESP) || 83 (nexthdr == IPPROTO_AH) || 84 (nexthdr == IPPROTO_NONE) || 85 (nexthdr == IPPROTO_DSTOPTS) ); 1422 u8 nexthdr = ipv6_hdr(skb)->nexthdr; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | rawv6.h | 10 extern int ipv6_raw_deliver(struct sk_buff *skb, int nexthdr);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/common/include/proto/ |
H A D | bcmip.h | 169 uint8 nexthdr; member in struct:ipv6_exthdr 174 uint8 nexthdr; member in struct:ipv6_exthdr_frag 186 while (IPV6_EXTHDR(eh->nexthdr)) { 187 if (eh->nexthdr == IPV6_EXTHDR_NONE) 189 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) 191 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) 200 *proto = eh->nexthdr;
|
H A D | bcmipv6.h | 104 uint8 nexthdr; member in struct:ipv6_hdr 126 uint8 nexthdr; member in struct:ipv6_frag
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/proto/ |
H A D | bcmip.h | 178 uint8 nexthdr; member in struct:ipv6_exthdr 183 uint8 nexthdr; member in struct:ipv6_exthdr_frag 195 while (IPV6_EXTHDR(eh->nexthdr)) { 196 if (eh->nexthdr == IPV6_EXTHDR_NONE) 198 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) 200 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) 209 *proto = eh->nexthdr;
|
H A D | bcmipv6.h | 104 uint8 nexthdr; member in struct:ipv6_hdr 126 uint8 nexthdr; member in struct:ipv6_frag
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | ip.h | 122 __u8 nexthdr; member in struct:ip_auth_hdr 137 __u8 nexthdr; member in struct:ip_comp_hdr 143 __u8 nexthdr; member in struct:ip_beet_phdr
|
H A D | ipv6.h | 38 __u8 nexthdr; member in struct:ipv6_rt_hdr 51 __u8 nexthdr; member in struct:ipv6_opt_hdr 100 __u8 nexthdr; member in struct:ipv6_auth_hdr 115 __u8 nexthdr; member in struct:ipv6_comp_hdr 140 __u8 nexthdr; member in struct:ipv6hdr
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/ |
H A D | em_u32.c | 30 ptr += (info->nexthdr & key->offmask);
|
H A D | sch_sfq.c | 158 h2 = iph->saddr.s6_addr32[3]^iph->nexthdr; 159 if (iph->nexthdr == IPPROTO_TCP || 160 iph->nexthdr == IPPROTO_UDP || 161 iph->nexthdr == IPPROTO_UDPLITE || 162 iph->nexthdr == IPPROTO_SCTP || 163 iph->nexthdr == IPPROTO_DCCP || 164 iph->nexthdr == IPPROTO_ESP)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/xfrm/ |
H A D | xfrm_input.c | 49 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq) argument 53 switch (nexthdr) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | xfrm4_input.c | 26 static int xfrm4_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq) argument 28 switch (nexthdr) { 36 return xfrm_parse_spi(skb, nexthdr, spi, seq);
|
H A D | xfrm4_mode_beet.c | 57 ph->nexthdr = top_iph->protocol; 95 ph_nexthdr = ph->nexthdr;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/ |
H A D | xt_TCPMSS.c | 175 u8 nexthdr; local 179 nexthdr = ipv6h->nexthdr; 180 tcphoff = ipv6_skip_exthdr(*pskb, sizeof(*ipv6h), &nexthdr);
|