Searched refs:args (Results 1 - 25 of 787) sorted by relevance

1234567891011>>

/vpp/src/vlib/
H A Dformat_funcs.h44 u8 *format_vlib_rx_tx (u8 * s, va_list * args);
45 u8 *format_vlib_read_write (u8 * s, va_list * args);
48 u8 *format_vlib_buffer_data (u8 * s, va_list * args);
51 uword unformat_vlib_enable_disable (unformat_input_t * input, va_list * args);
54 uword unformat_vlib_rx_tx (unformat_input_t * input, va_list * args);
57 uword unformat_vlib_number_by_name (unformat_input_t * input, va_list * args);
60 uword unformat_vlib_number (unformat_input_t * input, va_list * args);
63 uword unformat_vlib_tmpfile (unformat_input_t * input, va_list * args);
H A Dformat.c43 format_vlib_rx_tx (u8 * s, va_list * args) argument
45 vlib_rx_or_tx_t r = va_arg (*args, vlib_rx_or_tx_t);
66 format_vlib_read_write (u8 * s, va_list * args) argument
68 vlib_rx_or_tx_t r = va_arg (*args, vlib_rx_or_tx_t);
90 format_vlib_buffer_data (u8 * s, va_list * args) argument
92 u8 *data = va_arg (*args, u8 *);
93 u32 n_data_bytes = va_arg (*args, u32);
116 unformat_vlib_enable_disable (unformat_input_t * input, va_list * args) argument
118 int *result = va_arg (*args, int *);
134 unformat_vlib_rx_tx (unformat_input_t * input, va_list * args) argument
148 unformat_vlib_number(unformat_input_t * input, va_list * args) argument
157 unformat_vlib_number_by_name(unformat_input_t * input, va_list * args) argument
192 unformat_vlib_tmpfile(unformat_input_t * input, va_list * args) argument
[all...]
/vpp/src/plugins/rdma/
H A Dunformat.c24 rdma_create_if_args_t *args = va_arg (*vargs, rdma_create_if_args_t *); local
31 clib_memset (args, 0, sizeof (*args));
35 if (unformat (line_input, "host-if %s", &args->ifname))
37 else if (unformat (line_input, "name %s", &args->name))
39 else if (unformat (line_input, "rx-queue-size %u", &args->rxq_size))
41 else if (unformat (line_input, "tx-queue-size %u", &args->txq_size))
43 else if (unformat (line_input, "num-rx-queues %u", &args->rxq_num))
46 args->mode = RDMA_MODE_AUTO;
48 args
[all...]
H A Dapi.c53 rdma_create_if_args_t args; local
56 clib_memset (&args, 0, sizeof (rdma_create_if_args_t));
58 args.ifname = mp->host_if;
59 args.name = mp->name;
60 args.rxq_num = ntohs (mp->rxq_num);
61 args.rxq_size = ntohs (mp->rxq_size);
62 args.txq_size = ntohs (mp->txq_size);
63 args.mode = rdma_api_mode (mp->mode);
65 rdma_create_if (vm, &args);
66 rv = args
[all...]
/vpp/src/vpp/api/
H A Dtypes.h29 extern uword unformat_vl_api_mac_address (unformat_input_t * input, va_list * args);
30 extern uword unformat_vl_api_address_family (unformat_input_t * input, va_list * args);
31 extern uword unformat_vl_api_address (unformat_input_t * input, va_list * args);
32 extern uword unformat_vl_api_ip4_address (unformat_input_t * input, va_list * args);
33 extern uword unformat_vl_api_ip6_address (unformat_input_t * input, va_list * args);
34 extern uword unformat_vl_api_prefix (unformat_input_t * input, va_list * args);
35 extern uword unformat_vl_api_mprefix (unformat_input_t * input, va_list * args);
36 extern uword unformat_vl_api_version (unformat_input_t * input, va_list * args);
38 extern u8 *format_vl_api_address (u8 * s, va_list * args);
39 extern u8 *format_vl_api_address_family (u8 * s, va_list * args);
[all...]
H A Dtypes.c26 format_vl_api_address_family (u8 * s, va_list * args) argument
28 vl_api_address_family_t af = va_arg (*args, int);
39 format_vl_api_address (u8 * s, va_list * args) argument
41 const vl_api_address_t *addr = va_arg (*args, vl_api_address_t *);
52 format_vl_api_address_union (u8 * s, va_list * args) argument
55 va_arg (*args, vl_api_address_union_t *);
56 vl_api_address_family_t af = va_arg (*args, int);
67 format_vl_api_ip4_address (u8 * s, va_list * args) argument
69 const vl_api_ip4_address_t *addr = va_arg (*args, vl_api_ip4_address_t *);
77 format_vl_api_ip6_address (u8 * s, va_list * args) argument
87 format_vl_api_prefix(u8 * s, va_list * args) argument
98 format_vl_api_mac_address(u8 * s, va_list * args) argument
106 format_vl_api_version(u8 * s, va_list * args) argument
120 unformat_vl_api_mac_address(unformat_input_t * input, va_list * args) argument
128 unformat_vl_api_address(unformat_input_t * input, va_list * args) argument
143 unformat_vl_api_address_family(unformat_input_t * input, va_list * args) argument
159 unformat_vl_api_ip4_address(unformat_input_t * input, va_list * args) argument
169 unformat_vl_api_ip6_address(unformat_input_t * input, va_list * args) argument
179 unformat_vl_api_prefix(unformat_input_t * input, va_list * args) argument
190 unformat_vl_api_mprefix(unformat_input_t * input, va_list * args) argument
236 unformat_vl_api_version(unformat_input_t * input, va_list * args) argument
[all...]
/vpp/src/plugins/igmp/
H A Digmp_format.h21 extern u8 *format_igmp_type (u8 * s, va_list * args);
23 extern u8 *format_igmp_membership_group_type (u8 * s, va_list * args);
25 extern u8 *format_igmp_header (u8 * s, va_list * args);
27 extern u8 *format_igmp_report_v3 (u8 * s, va_list * args);
29 extern u8 *format_igmp_query_v3 (u8 * s, va_list * args);
31 extern u8 *format_igmp_filter_mode (u8 * s, va_list * args);
33 extern u8 *format_igmp_mode (u8 * s, va_list * args);
35 extern u8 *format_igmp_src_addr_list (u8 * s, va_list * args);
37 extern u8 *format_igmp_key (u8 * s, va_list * args);
39 extern u8 *format_igmp_proxy_device_id (u8 * s, va_list * args);
[all...]
H A Digmp_query.h29 extern void igmp_handle_query (const igmp_query_args_t * args);
H A Digmp_report.h29 extern void igmp_handle_report (const igmp_report_args_t * args);
/vpp/src/vnet/ip/
H A Dip_format_fns.h19 static inline u8 *format_vl_api_ip6_address_t (u8 * s, va_list * args);
20 static inline u8 *format_vl_api_ip4_address_t (u8 * s, va_list * args);
26 format_vl_api_ip6_address_t (u8 * s, va_list * args) argument
28 vl_api_ip6_address_t *a = va_arg (*args, vl_api_ip6_address_t *);
29 u32 indent __attribute__((unused)) = va_arg (*args, u32);
35 format_vl_api_ip6_prefix_t (u8 * s, va_list * args) argument
37 vl_api_ip6_prefix_t *a = va_arg (*args, vl_api_ip6_prefix_t *);
38 u32 indent __attribute__((unused)) = va_arg (*args, u32);
44 format_vl_api_ip4_address_t (u8 * s, va_list * args) argument
46 vl_api_ip4_address_t *a = va_arg (*args, vl_api_ip4_address_
53 format_vl_api_ip4_prefix_t(u8 * s, va_list * args) argument
62 format_vl_api_address_t(u8 * s, va_list * args) argument
77 format_vl_api_prefix_t(u8 * s, va_list * args) argument
86 format_vl_api_address_with_prefix_t(u8 * s, va_list * args) argument
92 format_vl_api_ip4_address_with_prefix_t(u8 * s, va_list * args) argument
98 format_vl_api_ip6_address_with_prefix_t(u8 * s, va_list * args) argument
[all...]
/vpp/src/vppinfra/
H A Derror.h59 #define clib_warning(format,args...) \
60 _clib_error (CLIB_ERROR_WARNING, clib_error_function, __LINE__, format, ## args)
62 #define clib_error(format,args...) \
63 _clib_error (CLIB_ERROR_FATAL, clib_error_function, __LINE__, format, ## args)
65 #define clib_unix_error(format,args...) \
66 _clib_error (CLIB_ERROR_FATAL | CLIB_ERROR_ERRNO_VALID, clib_error_function, __LINE__, format, ## args)
68 #define clib_unix_warning(format,args...) \
69 _clib_error (CLIB_ERROR_WARNING | CLIB_ERROR_ERRNO_VALID, clib_error_function, __LINE__, format, ## args)
72 #define clib_panic(format,args...) \
73 _clib_error (CLIB_ERROR_ABORT, (char *) clib_error_function, __LINE__, format, ## args)
[all...]
/vpp/src/vnet/tunnel/
H A Dtunnel.c21 format_tunnel_mode (u8 * s, va_list * args) argument
23 tunnel_mode_t mode = va_arg (*args, int);
38 unformat_tunnel_mode (unformat_input_t * input, va_list * args) argument
40 tunnel_mode_t *m = va_arg (*args, tunnel_mode_t *);
52 format_tunnel_encap_decap_flags (u8 * s, va_list * args) argument
54 tunnel_encap_decap_flags_t f = va_arg (*args, int);
/vpp/src/vnet/devices/tap/
H A Dtap.c133 tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args) argument
156 if (args->id != ~0)
158 if (clib_bitmap_get (tm->tap_ids, args->id))
160 args->rv = VNET_API_ERROR_INVALID_INTERFACE;
161 args->error = clib_error_return (0, "interface already exists");
167 args->id = clib_bitmap_first_clear (tm->tap_ids);
170 if (args->id > TAP_MAX_INSTANCE)
172 args->rv = VNET_API_ERROR_UNSPECIFIED;
173 args->error = clib_error_return (0, "cannot find free interface id");
179 if (args
[all...]
H A Dcli.c38 tap_create_if_args_t args = { 0 }; local
42 args.id = ~0;
43 args.tap_flags = 0;
44 args.rv = -1;
45 args.num_rx_queues = 1;
52 if (unformat (line_input, "id %u", &args.id))
55 if (unformat (line_input, "host-if-name %s", &args.host_if_name))
57 else if (unformat (line_input, "host-ns %s", &args.host_namespace))
61 args.host_mac_addr.bytes))
63 else if (unformat (line_input, "host-bridge %s", &args
[all...]
/vpp/src/vnet/qos/
H A Dqos_types.c27 format_qos_source (u8 * s, va_list * args) argument
29 int qs = va_arg (*args, int);
35 unformat_qos_source (unformat_input_t * input, va_list * args) argument
37 int *qs = va_arg (*args, int *);
/vpp/src/plugins/quic/
H A Derror.h23 u8 *quic_format_err (u8 * s, va_list * args);
/vpp/src/plugins/avf/
H A Davf_test.c52 avf_create_if_args_t args; local
57 clib_memset (&args, 0, sizeof (avf_create_if_args_t));
63 args.addr.domain = x[0];
64 args.addr.bus = x[1];
65 args.addr.slot = x[2];
66 args.addr.function = x[3];
69 args.enable_elog = 1;
71 args.rxq_size = tmp;
73 args.txq_size = tmp;
75 args
[all...]
H A Davf_api.c40 avf_create_if_args_t args; local
43 clib_memset (&args, 0, sizeof (avf_create_if_args_t));
45 args.enable_elog = ntohl (mp->enable_elog);
46 args.addr.as_u32 = ntohl (mp->pci_addr);
47 args.rxq_num = ntohs (mp->rxq_num);
48 args.rxq_size = ntohs (mp->rxq_size);
49 args.txq_size = ntohs (mp->txq_size);
51 avf_create_if (vm, &args);
52 rv = args.rv;
57 rmp->sw_if_index = ntohl (args
[all...]
/vpp/src/vat/
H A Dtypes.c26 format_vl_api_address_family (u8 * s, va_list * args) argument
28 vl_api_address_family_t af = va_arg (*args, int);
39 format_vl_api_address (u8 * s, va_list * args) argument
41 const vl_api_address_t *addr = va_arg (*args, vl_api_address_t *);
52 format_vl_api_address_union (u8 * s, va_list * args) argument
55 va_arg (*args, vl_api_address_union_t *);
56 vl_api_address_family_t af = va_arg (*args, int);
67 format_vl_api_ip4_address (u8 * s, va_list * args) argument
69 const vl_api_ip4_address_t *addr = va_arg (*args, vl_api_ip4_address_t *);
77 format_vl_api_ip6_address (u8 * s, va_list * args) argument
87 format_vl_api_prefix(u8 * s, va_list * args) argument
98 format_vl_api_mac_address(u8 * s, va_list * args) argument
106 format_vl_api_version(u8 * s, va_list * args) argument
120 unformat_vl_api_mac_address(unformat_input_t * input, va_list * args) argument
128 unformat_vl_api_address(unformat_input_t * input, va_list * args) argument
143 unformat_vl_api_address_family(unformat_input_t * input, va_list * args) argument
159 unformat_vl_api_ip4_address(unformat_input_t * input, va_list * args) argument
169 unformat_vl_api_ip6_address(unformat_input_t * input, va_list * args) argument
179 unformat_vl_api_prefix(unformat_input_t * input, va_list * args) argument
190 unformat_vl_api_mprefix(unformat_input_t * input, va_list * args) argument
236 unformat_vl_api_version(unformat_input_t * input, va_list * args) argument
[all...]
/vpp/src/vpp-api/python/vpp_papi/
H A Dvpp_format.py40 def format_vl_api_address_t(args):
42 return {'un': {'ip6': inet_pton(AF_INET6, args)},
47 return {'un': {'ip4': inet_pton(AF_INET, args)},
51 def format_vl_api_prefix_t(args):
52 if isinstance(args, (ipaddress.IPv4Network, ipaddress.IPv6Network)):
54 text_type(args.network_address)),
55 'len': int(args.prefixlen)}
56 p, length = args.split('/')
60 def format_vl_api_address_with_prefix_t(args):
61 if isinstance(args, (ipaddres
[all...]
/vpp/src/plugins/lb/
H A Dutil.c32 uword unformat_ip46_prefix (unformat_input_t * input, va_list * args) argument
34 ip46_address_t *ip46 = va_arg (*args, ip46_address_t *);
35 u8 *len = va_arg (*args, u8 *);
36 ip46_type_t type = va_arg (*args, ip46_type_t);
54 u8 *format_ip46_prefix (u8 * s, va_list * args) argument
56 ip46_address_t *ip46 = va_arg (*args, ip46_address_t *);
57 u32 len = va_arg (*args, u32); //va_arg cannot use u8 or u16
58 ip46_type_t type = va_arg (*args, ip46_type_t);
/vpp/src/vnet/ethernet/
H A Dethernet_format_fns.h20 format_vl_api_mac_address_t (u8 * s, va_list * args) argument
22 u8 *a = va_arg (*args, u8 *);
/vpp/doxygen/siphon/
H A Dprocess_syscfg.py25 def __init__(self, *args, **kwargs):
26 super(SiphonSYSCFG, self).__init__(*args, **kwargs)
/vpp/src/plugins/marvell/pp2/
H A Dpp2_api.c37 mrvl_pp2_create_if_args_t args = { 0 }; local
41 args.name = format (0, "%s", mp->if_name);
42 args.rx_q_sz = ntohs (mp->rx_q_sz);
43 args.tx_q_sz = ntohs (mp->tx_q_sz);
44 mrvl_pp2_create_if (&args);
45 rv = args.rv;
46 vec_free (args.name);
47 if (args.error)
49 clib_error_free (args.error);
54 rmp->sw_if_index = ntohl (args
[all...]
/vpp/src/vnet/bonding/
H A Dcli.c376 bond_create_if (vlib_main_t * vm, bond_create_if_args_t * args) argument
384 if ((args->mode == BOND_MODE_LACP) && bm->lacp_plugin_loaded == 0)
386 args->rv = VNET_API_ERROR_FEATURE_DISABLED;
387 args->error = clib_error_return (0, "LACP plugin is not loaded");
390 if (args->mode > BOND_MODE_LACP || args->mode < BOND_MODE_ROUND_ROBIN)
392 args->rv = VNET_API_ERROR_INVALID_ARGUMENT;
393 args->error = clib_error_return (0, "Invalid mode");
396 if (args->lb > BOND_LB_L23)
398 args
487 bond_create_if_args_t args = { 0 }; local
598 bond_enslave(vlib_main_t * vm, bond_enslave_args_t * args) argument
775 bond_enslave_args_t args = { 0 }; local
826 bond_detach_slave(vlib_main_t * vm, bond_detach_slave_args_t * args) argument
846 bond_detach_slave_args_t args = { 0 }; local
992 bond_set_intf_weight(vlib_main_t * vm, bond_set_intf_weight_args_t * args) argument
1042 bond_set_intf_weight_args_t args = { 0 }; local
[all...]

Completed in 12 milliseconds

1234567891011>>