linux/include/linux/errqueue.h
<<
>>
Prefs
   1#ifndef _LINUX_ERRQUEUE_H
   2#define _LINUX_ERRQUEUE_H 1
   3
   4
   5#include <net/ip.h>
   6#if IS_ENABLED(CONFIG_IPV6)
   7#include <linux/ipv6.h>
   8#endif
   9#include <uapi/linux/errqueue.h>
  10
  11#define SKB_EXT_ERR(skb) ((struct sock_exterr_skb *) ((skb)->cb))
  12
  13struct sock_exterr_skb {
  14        union {
  15                struct inet_skb_parm    h4;
  16#if IS_ENABLED(CONFIG_IPV6)
  17                struct inet6_skb_parm   h6;
  18#endif
  19        } header;
  20        struct sock_extended_err        ee;
  21        u16                             addr_offset;
  22        __be16                          port;
  23};
  24
  25#endif
  26
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.