X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fpunt.h;h=0518b2b91efaad7a35897bd2e1681976c10c299c;hb=7c03ed4;hp=9defa88178206eeb29d6d75722ae0f1fce666e11;hpb=56dd5438b04b869065d8e901c315496bb6777455;p=vpp.git diff --git a/src/vnet/ip/punt.h b/src/vnet/ip/punt.h index 9defa881782..0518b2b91ef 100644 --- a/src/vnet/ip/punt.h +++ b/src/vnet/ip/punt.h @@ -20,7 +20,9 @@ #ifndef included_punt_h #define included_punt_h -#include +#include +#include + typedef enum { #define punt_error(n,s) PUNT_ERROR_##n, @@ -62,6 +64,7 @@ typedef struct __attribute__ ((packed)) */ typedef struct { + u8 protocol; u16 port; struct sockaddr_un caddr; } punt_client_t; @@ -80,6 +83,15 @@ typedef struct } punt_main_t; extern punt_main_t punt_main; +typedef struct punt_socket_detail_t_ +{ + u8 ipv; + u8 l4_protocol; + u16 l4_port; + u8 pathname[108]; +} punt_socket_detail_t; + +punt_socket_detail_t *punt_socket_entries (u8 ipv); #endif /*