52 return format (s,
"unknown %d", protocol);
57 u8 * result = va_arg (*args,
u8 *);
73 int port = va_arg (*args,
int);
81 s =
format (s,
"%d", clib_net_to_host_u16 (port));
88 u16 * result = va_arg (*args,
u16 *);
102 port = clib_host_to_net_u16 (port);
uword * protocol_info_by_name
sll srl srl sll sra u16x4 i
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)
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