aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMasahide NAKAMURA <nakam@linux-ipv6.org>2006-08-23 22:18:35 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:06:50 -0400
commitc61a404325093250b676f40ad8f4dd00f3bcab5f (patch)
tree8494f117afa5d79fcd97d57fe69e64369d5a78d7 /include/net
parent280a9d340057ce1b3cca63084df22f4ef5b35fba (diff)
[IPV6]: Find option offset by type.
This is a helper to search option offset from extension header which can carry TLV option like destination options header. Mobile IPv6 home address option will use it. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index ece7e8a84ffd..c4ea12710576 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -506,6 +506,8 @@ extern int ipv6_skip_exthdr(const struct sk_buff *, int start,
506 506
507extern int ipv6_ext_hdr(u8 nexthdr); 507extern int ipv6_ext_hdr(u8 nexthdr);
508 508
509extern int ipv6_find_tlv(struct sk_buff *skb, int offset, int type);
510
509extern struct ipv6_txoptions * ipv6_invert_rthdr(struct sock *sk, 511extern struct ipv6_txoptions * ipv6_invert_rthdr(struct sock *sk,
510 struct ipv6_rt_hdr *hdr); 512 struct ipv6_rt_hdr *hdr);
511 513