diff options
author | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> | 2013-01-21 01:48:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-21 13:33:15 -0500 |
commit | 2576f17dfad402e2446244238ed22dddf35c2e53 (patch) | |
tree | c2f90411b0fc1d6bd8caf6b01a082cd56cb952cd /include/net | |
parent | de09334b9326632bbf1a74bfd8b01866cbbf2f61 (diff) |
ipv6: Unshare ip6_nd_hdr() and change return type to void.
- move ip6_nd_hdr() to its users' source files.
In net/ipv6/mcast.c, it will be called ip6_mc_hdr().
- make return type to void since this function never fails.
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.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 464c6f70eca1..c1878f7049c8 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -661,13 +661,6 @@ extern int ip6_xmit(struct sock *sk, | |||
661 | struct ipv6_txoptions *opt, | 661 | struct ipv6_txoptions *opt, |
662 | int tclass); | 662 | int tclass); |
663 | 663 | ||
664 | extern int ip6_nd_hdr(struct sock *sk, | ||
665 | struct sk_buff *skb, | ||
666 | struct net_device *dev, | ||
667 | const struct in6_addr *saddr, | ||
668 | const struct in6_addr *daddr, | ||
669 | int proto, int len); | ||
670 | |||
671 | extern int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr); | 664 | extern int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr); |
672 | 665 | ||
673 | extern int ip6_append_data(struct sock *sk, | 666 | extern int ip6_append_data(struct sock *sk, |