Print this page
dccp: sock upcalls


  69 #pragma D binding "1.5" IPPROTO_NONE
  70 inline int IPPROTO_NONE = @IPPROTO_NONE@;
  71 #pragma D binding "1.5" IPPROTO_DSTOPTS
  72 inline int IPPROTO_DSTOPTS = @IPPROTO_DSTOPTS@;
  73 #pragma D binding "1.5" IPPROTO_HELLO
  74 inline int IPPROTO_HELLO = @IPPROTO_HELLO@;
  75 #pragma D binding "1.5" IPPROTO_ND
  76 inline int IPPROTO_ND = @IPPROTO_ND@;
  77 #pragma D binding "1.5" IPPROTO_EON
  78 inline int IPPROTO_EON = @IPPROTO_EON@;
  79 #pragma D binding "1.5" IPPROTO_OSPF
  80 inline int IPPROTO_OSPF = @IPPROTO_OSPF@;
  81 #pragma D binding "1.5" IPPROTO_PIM
  82 inline int IPPROTO_PIM = @IPPROTO_PIM@;
  83 #pragma D binding "1.5" IPPROTO_SCTP
  84 inline int IPPROTO_SCTP = @IPPROTO_SCTP@;
  85 #pragma D binding "1.5" IPPROTO_RAW
  86 inline int IPPROTO_RAW = @IPPROTO_RAW@;
  87 #pragma D binding "1.5" IPPROTO_MAX
  88 inline int IPPROTO_MAX = @IPPROTO_MAX@;


  89 
  90 /*
  91  * pktinfo is where packet ID info can be made available for deeper
  92  * analysis if packet IDs become supported by the kernel in the future.
  93  * The pkt_addr member is currently always NULL.
  94  */
  95 typedef struct pktinfo {
  96         uintptr_t pkt_addr;
  97 } pktinfo_t;
  98 
  99 /*
 100  * csinfo is where connection state info is made available.
 101  */
 102 typedef struct csinfo {
 103         uintptr_t cs_addr;
 104         uint64_t cs_cid;
 105         pid_t cs_pid;
 106         zoneid_t cs_zoneid;
 107 } csinfo_t;
 108 




  69 #pragma D binding "1.5" IPPROTO_NONE
  70 inline int IPPROTO_NONE = @IPPROTO_NONE@;
  71 #pragma D binding "1.5" IPPROTO_DSTOPTS
  72 inline int IPPROTO_DSTOPTS = @IPPROTO_DSTOPTS@;
  73 #pragma D binding "1.5" IPPROTO_HELLO
  74 inline int IPPROTO_HELLO = @IPPROTO_HELLO@;
  75 #pragma D binding "1.5" IPPROTO_ND
  76 inline int IPPROTO_ND = @IPPROTO_ND@;
  77 #pragma D binding "1.5" IPPROTO_EON
  78 inline int IPPROTO_EON = @IPPROTO_EON@;
  79 #pragma D binding "1.5" IPPROTO_OSPF
  80 inline int IPPROTO_OSPF = @IPPROTO_OSPF@;
  81 #pragma D binding "1.5" IPPROTO_PIM
  82 inline int IPPROTO_PIM = @IPPROTO_PIM@;
  83 #pragma D binding "1.5" IPPROTO_SCTP
  84 inline int IPPROTO_SCTP = @IPPROTO_SCTP@;
  85 #pragma D binding "1.5" IPPROTO_RAW
  86 inline int IPPROTO_RAW = @IPPROTO_RAW@;
  87 #pragma D binding "1.5" IPPROTO_MAX
  88 inline int IPPROTO_MAX = @IPPROTO_MAX@;
  89 #pragma D binding "1.10" IPPROTO_DCCP
  90 inline int IPPROTO_DCCP = @IPPROTO_DCCP@;
  91 
  92 /*
  93  * pktinfo is where packet ID info can be made available for deeper
  94  * analysis if packet IDs become supported by the kernel in the future.
  95  * The pkt_addr member is currently always NULL.
  96  */
  97 typedef struct pktinfo {
  98         uintptr_t pkt_addr;
  99 } pktinfo_t;
 100 
 101 /*
 102  * csinfo is where connection state info is made available.
 103  */
 104 typedef struct csinfo {
 105         uintptr_t cs_addr;
 106         uint64_t cs_cid;
 107         pid_t cs_pid;
 108         zoneid_t cs_zoneid;
 109 } csinfo_t;
 110