--- zzzz-none-000/linux-3.10.107/include/net/ipv6.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/net/ipv6.h 2021-11-10 11:53:56.000000000 +0000 @@ -712,6 +712,25 @@ extern void ip6_flush_pending_frames(struct sock *sk); +extern int ip6_send_skb(struct sk_buff *skb); + +extern struct sk_buff *__ip6_make_skb(struct sock *sk, struct sk_buff_head *queue, + struct inet_cork_full *cork, + struct inet6_cork *v6_cork); +extern struct sk_buff *ip6_make_skb(struct sock *sk, + int getfrag(void *from, char *to, int offset, + int len, int odd, struct sk_buff *skb), + void *from, int length, int transhdrlen, + int hlimit, int tclass, struct ipv6_txoptions *opt, + struct flowi6 *fl6, struct rt6_info *rt, + unsigned int flags, int dontfrag); + +static inline struct sk_buff *ip6_finish_skb(struct sock *sk) +{ + return __ip6_make_skb(sk, &sk->sk_write_queue, &inet_sk(sk)->cork, + &inet6_sk(sk)->cork); +} + extern int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi6 *fl6);