diff options
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 6e416f6d3e3c..4c9fe224d73b 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -671,8 +671,6 @@ static inline int ipv6_addr_diff(const struct in6_addr *a1, const struct in6_add | |||
671 | return __ipv6_addr_diff(a1, a2, sizeof(struct in6_addr)); | 671 | return __ipv6_addr_diff(a1, a2, sizeof(struct in6_addr)); |
672 | } | 672 | } |
673 | 673 | ||
674 | u32 __ipv6_select_ident(u32 hashrnd, struct in6_addr *dst, | ||
675 | struct in6_addr *src); | ||
676 | void ipv6_select_ident(struct frag_hdr *fhdr, struct rt6_info *rt); | 674 | void ipv6_select_ident(struct frag_hdr *fhdr, struct rt6_info *rt); |
677 | void ipv6_proxy_select_ident(struct sk_buff *skb); | 675 | void ipv6_proxy_select_ident(struct sk_buff *skb); |
678 | 676 | ||
@@ -791,6 +789,25 @@ int ip6_push_pending_frames(struct sock *sk); | |||
791 | 789 | ||
792 | void ip6_flush_pending_frames(struct sock *sk); | 790 | void ip6_flush_pending_frames(struct sock *sk); |
793 | 791 | ||
792 | int ip6_send_skb(struct sk_buff *skb); | ||
793 | |||
794 | struct sk_buff *__ip6_make_skb(struct sock *sk, struct sk_buff_head *queue, | ||
795 | struct inet_cork_full *cork, | ||
796 | struct inet6_cork *v6_cork); | ||
797 | struct sk_buff *ip6_make_skb(struct sock *sk, | ||
798 | int getfrag(void *from, char *to, int offset, | ||
799 | int len, int odd, struct sk_buff *skb), | ||
800 | void *from, int length, int transhdrlen, | ||
801 | int hlimit, int tclass, struct ipv6_txoptions *opt, | ||
802 | struct flowi6 *fl6, struct rt6_info *rt, | ||
803 | unsigned int flags, int dontfrag); | ||
804 | |||
805 | static inline struct sk_buff *ip6_finish_skb(struct sock *sk) | ||
806 | { | ||
807 | return __ip6_make_skb(sk, &sk->sk_write_queue, &inet_sk(sk)->cork, | ||
808 | &inet6_sk(sk)->cork); | ||
809 | } | ||
810 | |||
794 | int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi6 *fl6); | 811 | int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi6 *fl6); |
795 | struct dst_entry *ip6_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, | 812 | struct dst_entry *ip6_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, |
796 | const struct in6_addr *final_dst); | 813 | const struct in6_addr *final_dst); |