]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/errqueue.h
Merge tag 'writeback-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg...
[mirror_ubuntu-bionic-kernel.git] / include / linux / errqueue.h
CommitLineData
1da177e4
LT
1#ifndef _LINUX_ERRQUEUE_H
2#define _LINUX_ERRQUEUE_H 1
3
1da177e4 4
1da177e4 5#include <net/ip.h>
dfd56b8b 6#if IS_ENABLED(CONFIG_IPV6)
1da177e4
LT
7#include <linux/ipv6.h>
8#endif
607ca46e 9#include <uapi/linux/errqueue.h>
1da177e4
LT
10
11#define SKB_EXT_ERR(skb) ((struct sock_exterr_skb *) ((skb)->cb))
12
d94d9fee 13struct sock_exterr_skb {
1da177e4
LT
14 union {
15 struct inet_skb_parm h4;
dfd56b8b 16#if IS_ENABLED(CONFIG_IPV6)
1da177e4
LT
17 struct inet6_skb_parm h6;
18#endif
19 } header;
20 struct sock_extended_err ee;
21 u16 addr_offset;
b406313c 22 __be16 port;
1da177e4
LT
23};
24
25#endif