53 return format (s,
"unknown %d", protocol);
59 u8 *result = va_arg (*args,
u8 *);
76 int port = va_arg (*args,
int);
84 s =
format (s,
"%d", clib_net_to_host_u16 (port));
92 u16 *result = va_arg (*args,
u16 *);
106 port = clib_host_to_net_u16 (port);
uword * protocol_info_by_name
uword * port_info_by_name
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
static ip_protocol_info_t * ip_get_protocol_info(ip_main_t *im, u32 protocol)
vl_api_ip_proto_t protocol
enum ip_protocol ip_protocol_t
ip_protocol_info_t * protocol_infos
static tcp_udp_port_info_t * ip_get_tcp_udp_port_info(ip_main_t *im, u32 port)
tcp_udp_port_info_t * port_infos