Searched refs:nexthdr (Results 1 - 17 of 17) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/
H A Dip6_input.c85 if (pkt_len || hdr->nexthdr != NEXTHDR_HOP) {
97 if (hdr->nexthdr == NEXTHDR_HOP) {
99 if (ipv6_parse_hopopts(skb, offsetof(struct ipv6hdr, nexthdr)) < 0) {
128 int nexthdr; local
138 nexthdr = hdr->nexthdr;
139 nhoff = offsetof(struct ipv6hdr, nexthdr);
142 if (nexthdr == NEXTHDR_HOP) {
144 nexthdr = skb->h.raw[0];
152 if (nexthdr !
[all...]
H A Dexthdrs.c50 * where next nexthdr value is stored or NULL, if parsing
235 return (&hdr->nexthdr) - skb->nh.raw;
443 u8 nexthdr = (*skb_in)->nh.raw[nhoff]; local
447 if (hdrt->type == nexthdr) {
449 nexthdr = (*skb_in)->nh.raw[nhoff];
558 phdr->rt_hdr.nexthdr = *prev_hdr;
560 return &phdr->rt_hdr.nexthdr;
568 h->nexthdr = *prev_hdr;
570 return &h->nexthdr;
578 h->nexthdr
720 ipv6_ext_hdr(u8 nexthdr) argument
777 u8 nexthdr = *nexthdrp; local
[all...]
H A Dicmp.c189 __u8 nexthdr = skb->nh.ipv6h->nexthdr; local
194 ptr = ipv6_skip_exthdr(skb, ptr, &nexthdr, len);
197 if (nexthdr == IPPROTO_ICMPV6) {
434 u8 nexthdr; local
439 nexthdr = ((struct ipv6hdr *)skb->data)->nexthdr;
440 if (ipv6_ext_hdr(nexthdr)) {
442 inner_offset = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, skb->len - sizeof(struct ipv6hdr));
463 hash = nexthdr
[all...]
H A Dip6_output.c141 fl.proto = iph->nexthdr;
232 hdr->nexthdr = proto;
276 hdr->nexthdr = proto;
297 hdr->nexthdr = fl->proto;
310 fhdr->nexthdr = *prev_hdr;
312 prev_hdr = &fhdr->nexthdr;
317 return &fhdr->nexthdr;
421 prev_hdr = &hdr->nexthdr;
455 ipv6_build_frag_opts(skb, &fhdr2->nexthdr, opt);
647 u8 *prev_hdr = &hdr->nexthdr;
[all...]
H A Draw.c137 struct sock * ipv6_raw_deliver(struct sk_buff *skb, int nexthdr) argument
147 hash = nexthdr & (MAX_INET_PROTOS - 1);
160 sk = __raw_v6_lookup(sk, nexthdr, daddr, saddr);
165 while ((sk2 = __raw_v6_lookup(sk2->next, nexthdr, daddr, saddr))) {
168 if (nexthdr == IPPROTO_ICMPV6 &&
178 if (sk && nexthdr == IPPROTO_ICMPV6 && icmpv6_filter(sk, skb))
545 /* port is the proto value [0..255] carried in nexthdr */
H A Dip6_fw.c136 proto = hdr->nexthdr;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Drawv6.h11 int nexthdr);
H A Dipv6.h81 unsigned char nexthdr; member in struct:frag_hdr
309 extern int ipv6_ext_hdr(u8 nexthdr);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Drawv6.h11 int nexthdr);
H A Dipv6.h81 unsigned char nexthdr; member in struct:frag_hdr
309 extern int ipv6_ext_hdr(u8 nexthdr);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dipv6.h37 __u8 nexthdr; member in struct:ipv6_rt_hdr
50 __u8 nexthdr; member in struct:ipv6_opt_hdr
96 __u8 nexthdr; member in struct:ipv6hdr
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dipv6.h37 __u8 nexthdr; member in struct:ipv6_rt_hdr
50 __u8 nexthdr; member in struct:ipv6_opt_hdr
96 __u8 nexthdr; member in struct:ipv6hdr
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/netfilter/
H A Dip6t_LOG.c46 u_int8_t hdrlen, nexthdr = 0; local
54 nexthdr = **hdrptr;
62 nexthdr = **hdrptr;
67 nexthdr = **hdrptr;
71 return nexthdr;
79 u_int8_t currenthdr = ipv6h->nexthdr;
H A Dip6_tables.c130 ip6t_ext_hdr(u8 nexthdr) argument
132 return ( (nexthdr == IPPROTO_HOPOPTS) ||
133 (nexthdr == IPPROTO_ROUTING) ||
134 (nexthdr == IPPROTO_FRAGMENT) ||
135 (nexthdr == IPPROTO_ESP) ||
136 (nexthdr == IPPROTO_AH) ||
137 (nexthdr == IPPROTO_NONE) ||
138 (nexthdr == IPPROTO_DSTOPTS) );
201 u_int8_t currenthdr = ipv6->nexthdr;
230 currenthdr = hdrptr->nexthdr;
[all...]
H A Dip6_queue.c345 fl.proto = iph->nexthdr;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/
H A Dsch_sfq.c159 h2 = iph->saddr.s6_addr32[3]^iph->nexthdr;
160 if (iph->nexthdr == IPPROTO_TCP ||
161 iph->nexthdr == IPPROTO_UDP ||
162 iph->nexthdr == IPPROTO_ESP)
H A Dcls_rsvp.h162 protocol = nhptr->nexthdr;

Completed in 71 milliseconds