Home
last modified time | relevance | path

Searched defs:link (Results 1 – 25 of 637) sorted by relevance

12345678910>>...26

/external/libnl/lib/route/link/
Dsit.c50 uint32_t link; member
77 static int sit_alloc(struct rtnl_link *link) in sit_alloc()
94 static int sit_parse(struct rtnl_link *link, struct nlattr *data, in sit_parse()
185 static int sit_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in sit_put_attrs()
240 static void sit_free(struct rtnl_link *link) in sit_free()
248 static void sit_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in sit_dump_line()
253 static void sit_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in sit_dump_details()
375 #define IS_SIT_LINK_ASSERT(link, sit) \ argument
388 struct rtnl_link *link; in rtnl_link_sit_alloc() local
410 int rtnl_link_is_sit(struct rtnl_link *link) in rtnl_link_is_sit()
[all …]
Dvxlan.c119 static int vxlan_alloc(struct rtnl_link *link) in vxlan_alloc()
135 static int vxlan_parse(struct rtnl_link *link, struct nlattr *data, in vxlan_parse()
294 static void vxlan_free(struct rtnl_link *link) in vxlan_free()
302 static void vxlan_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in vxlan_dump_line()
309 static void vxlan_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in vxlan_dump_details()
514 static int vxlan_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in vxlan_put_attrs()
669 #define IS_VXLAN_LINK_ASSERT(link) \ argument
688 struct rtnl_link *link; in rtnl_link_vxlan_alloc() local
707 int rtnl_link_is_vxlan(struct rtnl_link *link) in rtnl_link_is_vxlan()
719 int rtnl_link_vxlan_set_id(struct rtnl_link *link, uint32_t id) in rtnl_link_vxlan_set_id()
[all …]
Dipgre.c50 uint32_t link; member
71 static int ipgre_alloc(struct rtnl_link *link) in ipgre_alloc()
88 static int ipgre_parse(struct rtnl_link *link, struct nlattr *data, in ipgre_parse()
168 static int ipgre_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipgre_put_attrs()
217 static void ipgre_free(struct rtnl_link *link) in ipgre_free()
225 static void ipgre_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in ipgre_dump_line()
230 static void ipgre_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in ipgre_dump_details()
375 #define IS_IPGRE_LINK_ASSERT(link) \ argument
384 struct rtnl_link *link; in rtnl_link_ipgre_alloc() local
406 int rtnl_link_is_ipgre(struct rtnl_link *link) in rtnl_link_is_ipgre()
[all …]
Dip6tnl.c48 uint32_t link; member
69 static int ip6_tnl_alloc(struct rtnl_link *link) in ip6_tnl_alloc()
86 static int ip6_tnl_parse(struct rtnl_link *link, struct nlattr *data, in ip6_tnl_parse()
161 static int ip6_tnl_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ip6_tnl_put_attrs()
209 static void ip6_tnl_free(struct rtnl_link *link) in ip6_tnl_free()
217 static void ip6_tnl_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in ip6_tnl_dump_line()
222 static void ip6_tnl_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in ip6_tnl_dump_details()
324 #define IS_IP6_TNL_LINK_ASSERT(link)\ argument
332 struct rtnl_link *link; in rtnl_link_ip6_tnl_alloc() local
354 int rtnl_link_is_ip6_tnl(struct rtnl_link *link) in rtnl_link_is_ip6_tnl()
[all …]
Dip6gre.c47 uint32_t link; member
71 static int ip6gre_alloc(struct rtnl_link *link) in ip6gre_alloc()
88 static int ip6gre_parse(struct rtnl_link *link, struct nlattr *data, in ip6gre_parse()
173 static int ip6gre_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ip6gre_put_attrs()
225 static void ip6gre_free(struct rtnl_link *link) in ip6gre_free()
233 static void ip6gre_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in ip6gre_dump_line()
238 static void ip6gre_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in ip6gre_dump_details()
345 #define IS_IP6GRE_LINK_ASSERT(link) \ argument
351 #define HAS_IP6GRE_ATTR_ASSERT(link,attr) \ argument
357 struct rtnl_link *link; in rtnl_link_ip6gre_alloc() local
[all …]
Dipip.c42 uint32_t link; member
59 static int ipip_alloc(struct rtnl_link *link) in ipip_alloc()
76 static int ipip_parse(struct rtnl_link *link, struct nlattr *data, in ipip_parse()
136 static int ipip_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipip_put_attrs()
172 static void ipip_free(struct rtnl_link *link) in ipip_free()
180 static void ipip_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in ipip_dump_line()
185 static void ipip_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in ipip_dump_details()
276 #define IS_IPIP_LINK_ASSERT(link) \ argument
284 struct rtnl_link *link; in rtnl_link_ipip_alloc() local
306 int rtnl_link_is_ipip(struct rtnl_link *link) in rtnl_link_is_ipip()
[all …]
Dipvti.c38 uint32_t link; member
56 static int ipvti_alloc(struct rtnl_link *link) in ipvti_alloc()
73 static int ipvti_parse(struct rtnl_link *link, struct nlattr *data, in ipvti_parse()
128 static int ipvti_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipvti_put_attrs()
162 static void ipvti_free(struct rtnl_link *link) in ipvti_free()
170 static void ipvti_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in ipvti_dump_line()
175 static void ipvti_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in ipvti_dump_details()
261 #define IS_IPVTI_LINK_ASSERT(link) \ argument
269 struct rtnl_link *link; in rtnl_link_ipvti_alloc() local
291 int rtnl_link_is_ipvti(struct rtnl_link *link) in rtnl_link_is_ipvti()
[all …]
Dgeneve.c72 static int geneve_alloc(struct rtnl_link *link) in geneve_alloc()
87 static int geneve_parse(struct rtnl_link *link, struct nlattr *data, in geneve_parse()
165 static void geneve_free(struct rtnl_link *link) in geneve_free()
173 static void geneve_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in geneve_dump_line()
180 static void geneve_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in geneve_dump_details()
266 static int geneve_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in geneve_put_attrs()
331 #define IS_GENEVE_LINK_ASSERT(link) \ argument
350 struct rtnl_link *link; in rtnl_link_geneve_alloc() local
369 int rtnl_link_is_geneve(struct rtnl_link *link) in rtnl_link_is_geneve()
381 int rtnl_link_geneve_set_id(struct rtnl_link *link, uint32_t id) in rtnl_link_geneve_set_id()
[all …]
Dip6vti.c35 uint32_t link; member
53 static int ip6vti_alloc(struct rtnl_link *link) in ip6vti_alloc()
70 static int ip6vti_parse(struct rtnl_link *link, struct nlattr *data, in ip6vti_parse()
125 static int ip6vti_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ip6vti_put_attrs()
159 static void ip6vti_free(struct rtnl_link *link) in ip6vti_free()
167 static void ip6vti_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in ip6vti_dump_line()
172 static void ip6vti_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in ip6vti_dump_details()
249 #define IS_IP6VTI_LINK_ASSERT(link) \ argument
261 struct rtnl_link *link; in rtnl_link_ip6vti_alloc() local
283 int rtnl_link_is_ip6vti(struct rtnl_link *link) in rtnl_link_is_ip6vti()
[all …]
Dcan.c74 static int can_alloc(struct rtnl_link *link) in can_alloc()
91 static int can_parse(struct rtnl_link *link, struct nlattr *data, in can_parse()
171 static void can_free(struct rtnl_link *link) in can_free()
210 static void can_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in can_dump_line()
220 static void can_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in can_dump_details()
310 static int can_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in can_put_attrs()
371 #define IS_CAN_LINK_ASSERT(link) \ argument
389 int rtnl_link_is_can(struct rtnl_link *link) in rtnl_link_is_can()
400 int rtnl_link_can_restart(struct rtnl_link *link) in rtnl_link_can_restart()
419 int rtnl_link_can_freq(struct rtnl_link *link, uint32_t *freq) in rtnl_link_can_freq()
[all …]
Dmacsec.c91 static int macsec_alloc(struct rtnl_link *link) in macsec_alloc()
111 static int macsec_parse(struct rtnl_link *link, struct nlattr *data, in macsec_parse()
198 static void macsec_free(struct rtnl_link *link) in macsec_free()
261 static void macsec_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in macsec_dump_line()
270 static void macsec_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in macsec_dump_details()
304 static int macsec_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in macsec_put_attrs()
427 #define IS_MACSEC_LINK_ASSERT(link) \ argument
436 struct rtnl_link *link = rtnl_link_alloc(); in rtnl_link_macsec_alloc() local
456 int rtnl_link_macsec_set_sci(struct rtnl_link *link, uint64_t sci) in rtnl_link_macsec_set_sci()
476 int rtnl_link_macsec_get_sci(struct rtnl_link *link, uint64_t *sci) in rtnl_link_macsec_get_sci()
[all …]
Dmacvlan.c58 static int macvlan_alloc(struct rtnl_link *link) in macvlan_alloc()
80 static int macvlan_parse(struct rtnl_link *link, struct nlattr *data, in macvlan_parse()
144 static void macvlan_free(struct rtnl_link *link) in macvlan_free()
161 static void macvlan_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in macvlan_dump_details()
219 static int macvlan_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in macvlan_put_attrs()
284 #define IS_MACVLAN_LINK_ASSERT(link) \ argument
290 #define IS_MACVTAP_LINK_ASSERT(link) \ argument
309 struct rtnl_link *link; in rtnl_link_macvlan_alloc() local
328 int rtnl_link_is_macvlan(struct rtnl_link *link) in rtnl_link_is_macvlan()
340 int rtnl_link_macvlan_set_mode(struct rtnl_link *link, uint32_t mode) in rtnl_link_macvlan_set_mode()
[all …]
Dxfrmi.c36 uint32_t link; member
46 static int xfrmi_alloc(struct rtnl_link *link) in xfrmi_alloc()
63 static int xfrmi_parse(struct rtnl_link *link, struct nlattr *data, in xfrmi_parse()
95 static int xfrmi_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in xfrmi_put_attrs()
116 static void xfrmi_free(struct rtnl_link *link) in xfrmi_free()
124 static void xfrmi_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in xfrmi_dump_line()
129 static void xfrmi_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in xfrmi_dump_details()
190 #define IS_XFRMI_LINK_ASSERT(link) do { \ argument
199 struct rtnl_link *link; in rtnl_link_xfrmi_alloc() local
221 int rtnl_link_is_xfrmi(struct rtnl_link *link) in rtnl_link_is_xfrmi()
[all …]
Dveth.c35 static int veth_parse(struct rtnl_link *link, struct nlattr *data, in veth_parse()
78 static void veth_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in veth_dump_line()
82 static void veth_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in veth_dump_details()
112 static int veth_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in veth_put_attrs()
138 static int veth_alloc(struct rtnl_link *link) in veth_alloc()
163 static void veth_free(struct rtnl_link *link) in veth_free()
190 #define IS_VETH_LINK_ASSERT(link) \ argument
209 struct rtnl_link *link; in rtnl_link_veth_alloc() local
226 struct rtnl_link *rtnl_link_veth_get_peer(struct rtnl_link *link) in rtnl_link_veth_get_peer()
237 void rtnl_link_veth_release(struct rtnl_link *link) in rtnl_link_veth_release()
[all …]
Dbridge.c73 #define IS_BRIDGE_LINK_ASSERT(link) \ argument
79 static inline struct bridge_data *bridge_data(struct rtnl_link *link) in bridge_data()
84 static void *bridge_alloc(struct rtnl_link *link) in bridge_alloc()
89 static void *bridge_clone(struct rtnl_link *link, void *data) in bridge_clone()
99 static void bridge_free(struct rtnl_link *link, void *data) in bridge_free()
117 static void check_flag(struct rtnl_link *link, struct nlattr *attrs[], in check_flag()
124 static int bridge_parse_protinfo(struct rtnl_link *link, struct nlattr *attr, in bridge_parse_protinfo()
176 static int bridge_parse_af_full(struct rtnl_link *link, struct nlattr *attr_full, in bridge_parse_af_full()
236 static int bridge_fill_af(struct rtnl_link *link, struct nl_msg *msg, in bridge_fill_af()
253 static int bridge_fill_pi(struct rtnl_link *link, struct nl_msg *msg, in bridge_fill_pi()
[all …]
Dvlan.c61 static int vlan_alloc(struct rtnl_link *link) in vlan_alloc()
79 static int vlan_parse(struct rtnl_link *link, struct nlattr *data, in vlan_parse()
182 static void vlan_free(struct rtnl_link *link) in vlan_free()
195 static void vlan_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in vlan_dump_line()
202 static void vlan_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in vlan_dump_details()
287 static int vlan_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in vlan_put_attrs()
369 #define IS_VLAN_LINK_ASSERT(link) \ argument
388 struct rtnl_link *link; in rtnl_link_vlan_alloc() local
407 int rtnl_link_is_vlan(struct rtnl_link *link) in rtnl_link_is_vlan()
419 int rtnl_link_vlan_set_id(struct rtnl_link *link, uint16_t id) in rtnl_link_vlan_set_id()
[all …]
Dvrf.c48 static int vrf_alloc(struct rtnl_link *link) in vrf_alloc()
65 static int vrf_parse(struct rtnl_link *link, struct nlattr *data, in vrf_parse()
93 static void vrf_free(struct rtnl_link *link) in vrf_free()
116 static int vrf_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in vrf_put_attrs()
135 static void vrf_dump(struct rtnl_link *link, struct nl_dump_params *p) in vrf_dump()
158 #define IS_VRF_LINK_ASSERT(link) \ argument
177 struct rtnl_link *link; in rtnl_link_vrf_alloc() local
196 int rtnl_link_is_vrf(struct rtnl_link *link) in rtnl_link_is_vrf()
208 int rtnl_link_vrf_get_tableid(struct rtnl_link *link, uint32_t *id) in rtnl_link_vrf_get_tableid()
231 int rtnl_link_vrf_set_tableid(struct rtnl_link *link, uint32_t id) in rtnl_link_vrf_set_tableid()
Dipvlan.c45 static int ipvlan_alloc(struct rtnl_link *link) in ipvlan_alloc()
61 static int ipvlan_parse(struct rtnl_link *link, struct nlattr *data, in ipvlan_parse()
88 static void ipvlan_free(struct rtnl_link *link) in ipvlan_free()
94 static void ipvlan_dump(struct rtnl_link *link, struct nl_dump_params *p) in ipvlan_dump()
123 static int ipvlan_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipvlan_put_attrs()
155 #define IS_IPVLAN_LINK_ASSERT(link) \ argument
174 struct rtnl_link *link; in rtnl_link_ipvlan_alloc() local
193 int rtnl_link_is_ipvlan(struct rtnl_link *link) in rtnl_link_is_ipvlan()
205 int rtnl_link_ipvlan_set_mode(struct rtnl_link *link, uint16_t mode) in rtnl_link_ipvlan_set_mode()
224 int rtnl_link_ipvlan_get_mode(struct rtnl_link *link, uint16_t *out_mode) in rtnl_link_ipvlan_get_mode()
Dppp.c38 static int ppp_alloc(struct rtnl_link *link) in ppp_alloc()
54 static int ppp_parse(struct rtnl_link *link, struct nlattr *data, in ppp_parse()
81 static void ppp_free(struct rtnl_link *link) in ppp_free()
105 static int ppp_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ppp_put_attrs()
133 #define IS_PPP_LINK_ASSERT(link) \ argument
152 struct rtnl_link *link; in rtnl_link_ppp_alloc() local
172 int rtnl_link_ppp_set_fd(struct rtnl_link *link, int32_t fd) in rtnl_link_ppp_set_fd()
190 int rtnl_link_ppp_get_fd(struct rtnl_link *link, int32_t *fd) in rtnl_link_ppp_get_fd()
Dinet.c69 static void *inet_alloc(struct rtnl_link *link) in inet_alloc()
74 static void *inet_clone(struct rtnl_link *link, void *data) in inet_clone()
84 static void inet_free(struct rtnl_link *link, void *data) in inet_free()
93 static int inet_parse_af(struct rtnl_link *link, struct nlattr *attr, void *data) in inet_parse_af()
117 static int inet_fill_af(struct rtnl_link *link, struct nl_msg *msg, void *data) in inet_fill_af()
180 static void inet_dump_details(struct rtnl_link *link, in inet_dump_details()
232 int rtnl_link_inet_get_conf(struct rtnl_link *link, const unsigned int cfgid, in rtnl_link_inet_get_conf()
262 int rtnl_link_inet_set_conf(struct rtnl_link *link, const unsigned int cfgid, in rtnl_link_inet_set_conf()
Dinet6.c27 static void *inet6_alloc(struct rtnl_link *link) in inet6_alloc()
38 static void *inet6_clone(struct rtnl_link *link, void *data) in inet6_clone()
48 static void inet6_free(struct rtnl_link *link, void *data) in inet6_free()
144 static int inet6_parse_protinfo(struct rtnl_link *link, struct nlattr *attr, in inet6_parse_protinfo()
226 static int inet6_fill_af(struct rtnl_link *link, struct nl_msg *msg, void *data) in inet6_fill_af()
321 static void inet6_dump_details(struct rtnl_link *link, in inet6_dump_details()
401 static void inet6_dump_stats(struct rtnl_link *link, in inet6_dump_stats()
554 int rtnl_link_inet6_get_flags(struct rtnl_link *link, uint32_t* out_flags) in rtnl_link_inet6_get_flags()
575 int rtnl_link_inet6_set_flags(struct rtnl_link *link, uint32_t flags) in rtnl_link_inet6_set_flags()
598 int rtnl_link_inet6_get_token(struct rtnl_link *link, struct nl_addr **addr) in rtnl_link_inet6_get_token()
[all …]
/external/libnl/lib/route/
Dlink.c85 static struct rtnl_link_af_ops *af_lookup_and_alloc(struct rtnl_link *link, in af_lookup_and_alloc()
102 static int af_free(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_free()
124 static int af_clone(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_clone()
136 static int af_fill(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill()
159 static int af_fill_pi(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill_pi()
183 static int af_dump_line(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_line()
194 static int af_dump_details(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_details()
205 static int af_dump_stats(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_stats()
216 static int do_foreach_af(struct rtnl_link *link, in do_foreach_af()
239 static void release_link_info(struct rtnl_link *link) in release_link_info()
[all …]
/external/libnl/src/lib/
Dlink.c19 struct rtnl_link *link; in nl_cli_link_alloc() local
60 void nl_cli_link_parse_family(struct rtnl_link *link, char *arg) in nl_cli_link_parse_family()
71 void nl_cli_link_parse_name(struct rtnl_link *link, char *arg) in nl_cli_link_parse_name()
76 void nl_cli_link_parse_mtu(struct rtnl_link *link, char *arg) in nl_cli_link_parse_mtu()
82 void nl_cli_link_parse_ifindex(struct rtnl_link *link, char *arg) in nl_cli_link_parse_ifindex()
88 void nl_cli_link_parse_txqlen(struct rtnl_link *link, char *arg) in nl_cli_link_parse_txqlen()
94 void nl_cli_link_parse_weight(struct rtnl_link *link, char *arg) in nl_cli_link_parse_weight()
98 void nl_cli_link_parse_ifalias(struct rtnl_link *link, char *arg) in nl_cli_link_parse_ifalias()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DLinkTest.java49 Link link = Link.fromSpanContext(spanContext, Type.CHILD_LINKED_SPAN); in fromSpanContext_ChildLink() local
57 Link link = Link.fromSpanContext(spanContext, Type.CHILD_LINKED_SPAN, attributesMap); in fromSpanContext_ChildLink_WithAttributes() local
66 Link link = Link.fromSpanContext(spanContext, Type.PARENT_LINKED_SPAN); in fromSpanContext_ParentLink() local
74 Link link = Link.fromSpanContext(spanContext, Type.PARENT_LINKED_SPAN, attributesMap); in fromSpanContext_ParentLink_WithAttributes() local
101 Link link = Link.fromSpanContext(spanContext, Type.CHILD_LINKED_SPAN, attributesMap); in link_ToString() local
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dbpf_loop.c10 struct bpf_link *link; in check_nr_loops() local
45 struct bpf_link *link; in check_callback_fn_stop() local
67 struct bpf_link *link; in check_null_callback_ctx() local
86 struct bpf_link *link; in check_invalid_flags() local
103 struct bpf_link *link; in check_nested_calls() local

12345678910>>...26