Searched refs:nexthdr (Results 26 - 50 of 54) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c563 * to current nexthdr field in reassembled frame.
703 u8 nexthdr = ipv6_hdr(skb)->nexthdr; local
705 u8 prev_nhoff = netoff + offsetof(struct ipv6hdr, nexthdr);
710 while (nexthdr != NEXTHDR_FRAGMENT) {
714 if (!ipv6_ext_hdr(nexthdr)) {
721 if (nexthdr == NEXTHDR_NONE) {
727 if (nexthdr == NEXTHDR_AUTH)
732 prevhdr = nexthdr;
735 nexthdr
[all...]
H A Dip6t_REJECT.c57 proto = oip6h->nexthdr;
124 ip6h->nexthdr = IPPROTO_TCP;
H A Dip6t_LOG.c75 currenthdr = ih->nexthdr;
195 currenthdr = hp->nexthdr;
H A Dnf_conntrack_proto_icmpv6.c156 if (skb_copy_bits(skb, inip6off+offsetof(struct ipv6hdr, nexthdr),
158 DEBUGP("icmpv6_error: Can't get nexthdr in inner IPv6 header.\n");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Desp6.c199 u8 nexthdr[2]; local
217 if (skb_copy_bits(skb, skb->len-alen-2, nexthdr, 2))
220 padlen = nexthdr[0];
229 ret = nexthdr[1];
H A Dxfrm6_mode_beet.c52 skb->network_header += offsetof(struct ipv6hdr, nexthdr);
H A Dip6_tunnel.c330 __u8 nexthdr = ipv6h->nexthdr; local
333 while (ipv6_ext_hdr(nexthdr) && nexthdr != NEXTHDR_NONE) {
341 if (nexthdr == NEXTHDR_FRAGMENT) {
346 } else if (nexthdr == NEXTHDR_AUTH) {
351 if (nexthdr == NEXTHDR_DEST) {
372 nexthdr = hdr->nexthdr;
916 ipv6h->nexthdr
[all...]
H A Ddatagram.c435 u8 nexthdr = ipv6_hdr(skb)->nexthdr; local
441 switch(nexthdr) {
443 nexthdr = ptr[0];
449 nexthdr = ptr[0];
455 nexthdr = ptr[0];
459 nexthdr = ptr[0];
H A Dipcomp6.c115 err = ipch->nexthdr;
167 ipch->nexthdr = *skb_network_header(skb);
H A Draw.c151 int ipv6_raw_deliver(struct sk_buff *skb, int nexthdr) argument
162 hash = nexthdr & (MAX_INET_PROTOS - 1);
175 sk = __raw_v6_lookup(sk, nexthdr, daddr, saddr, IP6CB(skb)->iif);
181 switch (nexthdr) {
206 sk = __raw_v6_lookup(sk_next(sk), nexthdr, daddr, saddr,
709 /* port is the proto value [0..255] carried in nexthdr */
H A Dexthdrs.c466 opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb);
818 phdr->rt_hdr.nexthdr = *proto;
827 h->nexthdr = *proto;
H A Dipv6_sockglue.c67 proto = opth->nexthdr;
88 ops = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr);
124 ops = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr);
H A Dmcast.c988 int ipv6_is_mld(struct sk_buff *skb, int nexthdr) argument
992 if (nexthdr != IPPROTO_ICMPV6)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Desp4.c161 u8 nexthdr[2]; local
214 if (skb_copy_bits(skb, skb->len-alen-2, nexthdr, 2))
217 padlen = nexthdr[0];
257 iph->protocol = nexthdr[1];
H A Dah4.c84 ah->nexthdr = top_iph->protocol;
183 ((struct iphdr*)work_buf)->protocol = ah->nexthdr;
H A Dipcomp.c89 iph->protocol = ipch->nexthdr;
157 ipch->nexthdr = iph->protocol;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dxt_hashlimit.c372 int nexthdr; local
386 nexthdr = ip_hdr(skb)->protocol;
400 nexthdr = ipv6_find_hdr(skb, &protoff, -1, NULL);
401 if (nexthdr < 0)
410 switch (nexthdr) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dipv6.h98 __u8 nexthdr; member in struct:frag_hdr
451 extern int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr);
511 extern int ipv6_ext_hdr(u8 nexthdr);
H A Daddrconf.h108 extern int ipv6_is_mld(struct sk_buff *skb, int nexthdr);
H A Dpkt_cls.h157 int nexthdr; member in struct:tcf_pkt_info
H A Dxfrm.h1050 extern int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_ipv6/
H A Dip6_tables.h340 extern int ip6t_ext_hdr(u8 nexthdr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/
H A Dbr_netfilter.c476 if (pkt_len || hdr->nexthdr != NEXTHDR_HOP) {
482 if (hdr->nexthdr == NEXTHDR_HOP && check_hbh_len(skb))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dcls_rsvp.h156 protocol = nhptr->nexthdr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/
H A Dhooks.c3023 u8 nexthdr; local
3036 nexthdr = ip6->nexthdr;
3038 offset = ipv6_skip_exthdr(skb, offset, &nexthdr);
3043 *proto = nexthdr;
3045 switch (nexthdr) {

Completed in 229 milliseconds

123