Searched refs:id (Results 1 - 25 of 283) sorted by relevance

1234567891011>>

/vpp/src/vnet/bier/
H A Dbier_types.c60 bier_hdr_len_id_to_num_buckets (bier_hdr_len_id_t id) argument
62 return (bier_hdr_len_num_buckets[id]);
66 bier_hdr_len_id_to_num_bytes (bier_hdr_len_id_t id) argument
68 return (bier_hdr_len_id_to_num_buckets(id));
72 bier_hdr_len_id_to_max_bucket (bier_hdr_len_id_t id) argument
74 return (bier_hdr_len_id_to_num_buckets(id) - 1);
78 bier_hdr_len_id_to_num_bits (bier_hdr_len_id_t id) argument
80 return (bier_hdr_len_num_bits[id]);
84 bier_hdr_len_id_to_max_bit (bier_hdr_len_id_t id) argument
86 return (bier_hdr_len_id_to_num_bits(id));
90 bier_hdr_len_id_to_prefix_len(bier_hdr_len_id_t id) argument
168 bier_bift_id_t id; local
180 bier_bift_id_decode(bier_bift_id_t id, bier_table_set_id_t *set, bier_table_sub_domain_id_t *sd, bier_hdr_len_id_t *bsl) argument
224 bier_bift_id_t id = va_arg(*ap, bier_bift_id_t); local
[all...]
H A Dbier_bift_table.h43 extern void bier_bift_table_entry_add(bier_bift_id_t id,
46 extern void bier_bift_table_entry_remove(bier_bift_id_t id);
/vpp/test/scripts/
H A Drun_in_venv_with_cleanup.sh10 for id in $ids
12 if ps -p $id > /dev/null
14 kill -9 $id
/vpp/src/plugins/ioam/lib-pot/
H A Dpot_api.c42 u8 id; local
49 id = mp->id;
50 profile = pot_profile_find(id);
70 static void send_pot_profile_details(vl_api_pot_profile_show_config_dump_t *mp, u8 id) argument
74 pot_profile *profile = pot_profile_find(id);
78 rmp->id=id;
90 rmp->id=id;
105 u8 id = mp->id; local
121 u8 id; local
[all...]
H A Dpot_test.c53 u8 id = 0; local
61 else if(unformat(input, "id %d", &id))
105 mp->id = id;
123 u8 id = 0; local
131 else if(unformat(input, "id %d", &id))
146 mp->id = id;
173 u8 id = 0; local
[all...]
H A Dpot_util.h56 u8 id : 1; member in struct:pot_profile_
99 pot_profile *pot_profile_find(u8 id);
105 return (profile->id);
148 static inline int pot_profile_set_active (u8 id) argument
155 profile = pot_profile_find(id);
157 sm->active_profile_id = id;
H A Dpot_util.c49 static void pot_profile_init(pot_profile * new, u8 id) argument
54 new->id = id;
58 pot_profile *pot_profile_find(u8 id) argument
62 if (id < MAX_POT_PROFILES)
64 return (&(sm->profile_list[id]));
111 u16 id = profile->id; local
114 profile->id = id; /* Restor
347 u32 id = 0; local
[all...]
/vpp/src/vnet/ipfix-export/
H A Dipfix_packet.h77 ipfix_e_id_length (int e, u16 id, u16 length) argument
80 value = (e << 31) | ((id & 0x7FFF) << 16) | length;
184 ipfix_id_count (u16 id, u16 count) argument
186 return clib_host_to_net_u32 ((id << 16) | count);
/vpp/src/scripts/vnet/dhcp/
H A Dleftpeer.conf9 comment { set dhcp proxy server 1.2.3.4 src-address 1.2.3.5 add-option-82 rx-fib-id 0 server-fib-id 0 }
11 comment { set dhcp proxy server 192.168.2.2 src-address 192.168.2.1 add-option-82 rx-fib-id 12 server-fib-id 11 }
/vpp/test/
H A Dvpp_udp_encap.py13 if ue.id == e.udp_encap.id \
48 self.id = r.id
52 self._test.vapi.udp_encap_del(self.id)
58 return ("udp-encap-%d" % self.id)
62 return c[0][self.id]
H A Dvpp_ipsec.py20 def __init__(self, test, id):
22 self.id = id
25 self.test.vapi.ipsec_spd_add_del(self.id)
29 self.test.vapi.ipsec_spd_add_del(self.id, is_add=0)
32 return "ipsec-spd-%d" % self.id
37 if spd.spd_id == self.id:
54 self.test.vapi.ipsec_interface_add_del_spd(self.spd.id,
59 self.test.vapi.ipsec_interface_add_del_spd(self.spd.id,
64 return "bind-%s-to-%s" % (self.spd.id, sel
[all...]
H A Dvpp_bier.py82 def __init__(self, test, id, mpls_label):
84 self.id = id
89 self.id,
96 self.id,
101 return "bier-table;[%d:%d:%d]" % (self.id.set_id,
102 self.id.sub_domain_id,
103 self.id.hdr_len_id)
106 return find_bier_table(self._test, self.id)
227 def __init__(self, test, id)
[all...]
/vpp/src/vpp-api/vapi/
H A Dvapi_internal.h98 vapi_msg_id_t id; /* assigned at run-time */ member in struct:__anon2060
111 u16 vapi_lookup_vl_msg_id (vapi_ctx_t ctx, vapi_msg_id_t id);
122 int vapi_get_payload_offset (vapi_msg_id_t id);
123 void (*vapi_get_swap_to_host_func (vapi_msg_id_t id)) (void *payload);
124 void (*vapi_get_swap_to_be_func (vapi_msg_id_t id)) (void *payload);
125 size_t vapi_get_message_size (vapi_msg_id_t id);
126 size_t vapi_get_context_offset (vapi_msg_id_t id);
127 bool vapi_msg_is_with_context (vapi_msg_id_t id);
129 const char *vapi_get_msg_name(vapi_msg_id_t id);
H A Dvapi.c64 vapi_error_e (*cb) (vapi_ctx_t ctx, void *callback_ctx, vapi_msg_id_t id,
299 vapi_is_msg_available (vapi_ctx_t ctx, vapi_msg_id_t id) argument
301 return vapi_lookup_vl_msg_id (ctx, id) != UINT16_MAX;
357 u32 id = vl_msg_api_get_msg_index (scratch); local
358 if (VAPI_INVALID_MSG_ID != id)
360 if (id > UINT16_MAX)
362 VAPI_ERR ("Returned vl_msg_id `%u' > UINT16MAX `%u'!", id,
367 if (id > ctx->vl_msg_id_max)
372 (id + 1));
379 ctx->vl_msg_id_max = id;
459 vapi_msg_id_t id = ctx->vl_msg_id_to_vapi_msg_t[msgid]; local
505 vapi_msg_id_t id = ctx->vl_msg_id_to_vapi_msg_t[msgid1]; local
513 vapi_msg_id_t id = ctx->vl_msg_id_to_vapi_msg_t[msgid2]; local
576 vapi_msg_id_t id = ctx->vl_msg_id_to_vapi_msg_t[msgid]; local
631 vapi_dispatch_response(vapi_ctx_t ctx, vapi_msg_id_t id, u32 context, void *msg) argument
729 vapi_dispatch_event(vapi_ctx_t ctx, vapi_msg_id_t id, void *msg) argument
749 vapi_msg_is_with_context(vapi_msg_id_t id) argument
782 const vapi_msg_id_t id = ctx->vl_msg_id_to_vapi_msg_t[vpp_id]; local
828 vapi_set_event_cb(vapi_ctx_t ctx, vapi_msg_id_t id, vapi_event_cb callback, void *callback_ctx) argument
837 vapi_clear_event_cb(vapi_ctx_t ctx, vapi_msg_id_t id) argument
858 vapi_lookup_vl_msg_id(vapi_ctx_t ctx, vapi_msg_id_t id) argument
883 vapi_get_payload_offset(vapi_msg_id_t id) argument
889 vapi_get_swap_to_host_func(vapi_msg_id_t id) argument
895 vapi_get_swap_to_be_func(vapi_msg_id_t id) argument
902 vapi_get_message_size(vapi_msg_id_t id) argument
909 vapi_get_context_offset(vapi_msg_id_t id) argument
931 vapi_msg_id_t id = __vapi_metadata.count; local
980 vapi_get_msg_name(vapi_msg_id_t id) argument
[all...]
/vpp/src/vlibapi/
H A Dapi_shared.c439 u16 id = clib_net_to_host_u16 (*((u16 *) the_msg)); local
456 if (id < vec_len (am->msg_names))
457 ed->c = elog_string (am->elog_main, (char *) am->msg_names[id]);
462 if (id < vec_len (am->msg_handlers) && am->msg_handlers[id])
469 fformat (stdout, "[%d]: %s\n", id, am->msg_names[id]);
470 print_fp = (void *) am->msg_print_handlers[id];
483 if (!am->is_mp_safe[id])
485 vl_msg_api_barrier_trace_context (am->msg_names[id]);
552 u16 id = clib_net_to_host_u16 (*((u16 *) the_msg)); local
728 u16 id = clib_net_to_host_u16 (*((u16 *) the_msg)); local
749 u16 id = clib_net_to_host_u16 (*((u16 *) the_msg)); local
844 vl_msg_api_set_handlers(int id, char *name, void *handler, void *cleanup, void *endian, void *print, int size, int traced) argument
1063 vl_msg_api_add_msg_name_crc(api_main_t * am, const char *string, u32 id) argument
[all...]
/vpp/src/scripts/vnet/leftpeer/
H A Dleftpeer-mpls.conf17 create mpls gre tunnel src 6.0.3.1 dst 6.0.3.3 intfc 6.0.4.1/24 inner-fib-id 1 outer-fib-id 0
/vpp/src/scripts/vnet/mpls-o-gre/
H A Dleftpeer.conf14 create mpls gre tunnel src 6.0.3.1 dst 6.0.3.3 intfc 6.0.4.1/24 inner-fib-id 1 outer-fib-id 0
H A Drightpeer.conf14 create mpls gre tunnel src 6.0.3.3 dst 6.0.3.1 intfc 6.0.2.1/24 inner-fib-id 1 outer-fib-id 0
/vpp/src/scripts/vnet/rightpeer/
H A Drightpeer-mpls.conf17 create mpls gre tunnel src 6.0.3.3 dst 6.0.3.1 intfc 6.0.2.1/24 inner-fib-id 1 outer-fib-id 0
H A Drightpeer-mpls-l2.conf17 comment { create mpls gre tunnel src 6.0.3.3 dst 6.0.3.1 intfc 6.0.2.1/24 inner-fib-id 1 outer-fib-id 0 l2-only }
21 uncomment { create mpls ethernet tunnel dst 00:50:56:b7:05:bf adj 6.0.3.1/8 l2-only tx-intfc GigabitEthernet2/3/0 fib-id 1 }
/vpp/extras/vom/vom/
H A Dqos_map_cmds.cpp32 uint32_t id,
35 , m_id(id)
53 payload.map.id = m_id;
70 delete_cmd::delete_cmd(HW::item<bool>& item, uint32_t id) argument
72 , m_id(id)
88 payload.map.id = m_id;
31 create_cmd(HW::item<bool>& item, uint32_t id, const map::outputs_t& o) argument
H A Dmroute_cmds.hpp39 table_id_t id,
76 table_id_t id,
112 dump_cmd(route::table_id_t id, const l3_proto_t& proto);
H A Droute_cmds.hpp39 table_id_t id,
73 delete_cmd(HW::item<handle_t>& item, table_id_t id, const prefix_t& prefix);
104 dump_cmd(route::table_id_t id, const l3_proto_t& proto);
/vpp/src/vnet/devices/virtio/
H A Dformat.c34 s = format (s, "tap%u", vif->id);
40 s = format (s, "tun%u", vif->id);
53 s = format (s, "tap%u", vif->id);
55 s = format (s, "tun%u", vif->id);
/vpp/src/vnet/ip/
H A Dip6_link.h71 ip6_link_delegate_id_t id);
73 ip6_link_delegate_id_t id, index_t ii);
75 ip6_link_delegate_id_t id, index_t ii);

Completed in 14 milliseconds

1234567891011>>