Home
last modified time | relevance | path

Searched refs:rtnl_link (Results 1 – 14 of 14) sorted by relevance

/external/libnl/include/netlink/route/
Dlink.h23 struct rtnl_link;
55 extern struct rtnl_link *rtnl_link_alloc(void);
56 extern void rtnl_link_put(struct rtnl_link *);
57 extern void rtnl_link_free(struct rtnl_link *);
61 extern struct rtnl_link *rtnl_link_get(struct nl_cache *, int);
62 extern struct rtnl_link *rtnl_link_get_by_name(struct nl_cache *, const char *);
65 extern int rtnl_link_build_change_request(struct rtnl_link *,
66 struct rtnl_link *, int,
68 extern int rtnl_link_change(struct nl_sock *, struct rtnl_link *,
69 struct rtnl_link *, int);
[all …]
/external/libnl/lib/route/
Dlink.c184 static void release_link_info(struct rtnl_link *link) in release_link_info()
197 struct rtnl_link *link = nl_object_priv(c); in link_free_data()
212 struct rtnl_link *dst = nl_object_priv(_dst); in link_clone()
213 struct rtnl_link *src = nl_object_priv(_src); in link_clone()
259 struct rtnl_link *link; in link_msg_parser()
434 struct rtnl_link *link = (struct rtnl_link *) obj; in link_dump_line()
443 struct rtnl_link *master = rtnl_link_get(cache, link->l_master); in link_dump_line()
454 struct rtnl_link *ll = rtnl_link_get(cache, link->l_link); in link_dump_line()
468 struct rtnl_link *link = (struct rtnl_link *) obj; in link_dump_details()
508 struct rtnl_link *link = (struct rtnl_link *) obj; in link_dump_stats()
[all …]
/external/libnl/include/netlink/route/link/
Dvlan.h33 extern int rtnl_link_vlan_set_id(struct rtnl_link *, int);
34 extern int rtnl_link_vlan_get_id(struct rtnl_link *);
36 extern int rtnl_link_vlan_set_flags(struct rtnl_link *,
38 extern int rtnl_link_vlan_unset_flags(struct rtnl_link *,
40 extern unsigned int rtnl_link_vlan_get_flags(struct rtnl_link *);
42 extern int rtnl_link_vlan_set_ingress_map(struct rtnl_link *,
44 extern uint32_t * rtnl_link_vlan_get_ingress_map(struct rtnl_link *);
46 extern int rtnl_link_vlan_set_egress_map(struct rtnl_link *,
48 extern struct vlan_map *rtnl_link_vlan_get_egress_map(struct rtnl_link *,
Dinfo-api.h37 int (*io_alloc)(struct rtnl_link *);
42 int (*io_parse)(struct rtnl_link *,
48 void (*io_dump[NL_DUMP_MAX+1])(struct rtnl_link *,
53 int (*io_clone)(struct rtnl_link *, struct rtnl_link *);
57 int (*io_put_attrs)(struct nl_msg *, struct rtnl_link *);
61 void (*io_free)(struct rtnl_link *);
/external/libnl/include/netlink/cli/
Dlink.h21 extern struct rtnl_link *nl_cli_link_alloc(void);
23 extern void nl_cli_link_parse_family(struct rtnl_link *, char *);
24 extern void nl_cli_link_parse_name(struct rtnl_link *, char *);
25 extern void nl_cli_link_parse_mtu(struct rtnl_link *, char *);
26 extern void nl_cli_link_parse_ifindex(struct rtnl_link *, char *);
27 extern void nl_cli_link_parse_txqlen(struct rtnl_link *, char *);
28 extern void nl_cli_link_parse_weight(struct rtnl_link *, char *);
/external/libnl/src/lib/
Dlink.c22 struct rtnl_link *nl_cli_link_alloc(void) in nl_cli_link_alloc()
24 struct rtnl_link *link; in nl_cli_link_alloc()
33 void nl_cli_link_parse_family(struct rtnl_link *link, char *arg) in nl_cli_link_parse_family()
44 void nl_cli_link_parse_name(struct rtnl_link *link, char *arg) in nl_cli_link_parse_name()
49 void nl_cli_link_parse_mtu(struct rtnl_link *link, char *arg) in nl_cli_link_parse_mtu()
55 void nl_cli_link_parse_ifindex(struct rtnl_link *link, char *arg) in nl_cli_link_parse_ifindex()
61 void nl_cli_link_parse_txqlen(struct rtnl_link *link, char *arg) in nl_cli_link_parse_txqlen()
67 void nl_cli_link_parse_weight(struct rtnl_link *link, char *arg) in nl_cli_link_parse_weight()
/external/libnl/lib/route/link/
Dvlan.c71 static int vlan_alloc(struct rtnl_link *link) in vlan_alloc()
83 static int vlan_parse(struct rtnl_link *link, struct nlattr *data, in vlan_parse()
169 static void vlan_free(struct rtnl_link *link) in vlan_free()
182 static void vlan_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in vlan_dump_line()
189 static void vlan_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in vlan_dump_details()
238 static int vlan_clone(struct rtnl_link *dst, struct rtnl_link *src) in vlan_clone()
259 static int vlan_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in vlan_put_attrs()
337 int rtnl_link_vlan_set_id(struct rtnl_link *link, int id) in rtnl_link_vlan_set_id()
350 int rtnl_link_vlan_get_id(struct rtnl_link *link) in rtnl_link_vlan_get_id()
363 int rtnl_link_vlan_set_flags(struct rtnl_link *link, unsigned int flags) in rtnl_link_vlan_set_flags()
[all …]
/external/libnl/src/
Dnl-link-stats.c45 static void dump_stat(struct rtnl_link *link, int id) in dump_stat()
56 struct rtnl_link *link = (struct rtnl_link *) obj; in dump_stats()
83 struct rtnl_link *link; in main()
Dnl-link-set.c50 struct rtnl_link *link = nl_object_priv(obj); in set_cb()
51 struct rtnl_link *change = arg; in set_cb()
71 struct rtnl_link *link, *change; in main()
Dnl-tctree-list.c84 struct rtnl_link *link = (struct rtnl_link *) obj; in print_link()
Dnl-link-list.c54 struct rtnl_link *link; in main()
Dnl-cls-list.c46 ifindex = rtnl_link_get_ifindex((struct rtnl_link *) obj); in print_cls()
/external/wpa_supplicant_8/src/ap/
Dvlan_util.c28 struct rtnl_link *rlink = NULL; in vlan_add()
128 struct rtnl_link *rlink = NULL; in vlan_rem()
/external/libnl/include/
Dnetlink-types.h149 struct rtnl_link struct