X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Furi%2Fvppcom.h;h=dd72986ec53d94a93b60842de6a5023372511ba5;hb=9c4b5b28b1c1df0c100b377a2f5bfc07bd9a0b2e;hp=387970f7ef3dbcf84190ca139d99646e88dc9cdf;hpb=35830af800aefdcc6a3767bc101b4c300a74651b;p=vpp.git diff --git a/src/uri/vppcom.h b/src/uri/vppcom.h index 387970f7ef3..dd72986ec53 100644 --- a/src/uri/vppcom.h +++ b/src/uri/vppcom.h @@ -69,6 +69,12 @@ typedef enum VPPCOM_ATTR_SET_FLAGS, VPPCOM_ATTR_GET_LCL_ADDR, VPPCOM_ATTR_GET_PEER_ADDR, + VPPCOM_ATTR_SET_REUSEADDR, + VPPCOM_ATTR_SET_BROADCAST, + VPPCOM_ATTR_SET_V6ONLY, + VPPCOM_ATTR_SET_KEEPALIVE, + VPPCOM_ATTR_SET_TCP_KEEPIDLE, + VPPCOM_ATTR_SET_TCP_KEEPINTVL, } vppcom_attr_op_t; /* @@ -121,13 +127,6 @@ vppcom_retval_str (int retval) return st; } -static inline int -is_vcom_fd (int fd) -{ -#define VPPCOM_FD_OFFSET (1 << 30) - return (fd >= VPPCOM_FD_OFFSET); -} - /* TBD: make these constructor/destructor function */ extern int vppcom_app_create (char *app_name); extern void vppcom_app_destroy (void);