Home
last modified time | relevance | path

Searched refs:link_util (Results 1 – 23 of 23) sorted by relevance

/external/iproute2/ip/
Dip_common.h71 struct link_util struct
73 struct link_util *next; argument
76 int (*parse_opt)(struct link_util *, int, char **, argument
78 void (*print_opt)(struct link_util *, FILE *, argument
80 void (*print_xstats)(struct link_util *, FILE *, argument
82 void (*print_help)(struct link_util *, int, char **, argument
87 struct link_util *get_link_kind(const char *kind); argument
88 struct link_util *get_link_slave_kind(const char *slave_kind);
Diplink_macvlan.c29 static void print_explain(struct link_util *lu, FILE *f) in print_explain()
37 static void explain(struct link_util *lu) in explain()
49 static int macvlan_parse_opt(struct link_util *lu, int argc, char **argv, in macvlan_parse_opt()
97 static void macvlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in macvlan_print_opt()
126 static void macvlan_print_help(struct link_util *lu, int argc, char **argv, in macvlan_print_help()
132 struct link_util macvlan_link_util = {
140 struct link_util macvtap_link_util = {
Diplink_vrf.c31 static int vrf_parse_opt(struct link_util *lu, int argc, char **argv, in vrf_parse_opt()
58 static void vrf_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in vrf_print_opt()
67 static void vrf_print_help(struct link_util *lu, int argc, char **argv, in vrf_print_help()
73 struct link_util vrf_link_util = {
Diplink_ipvlan.c38 static int ipvlan_parse_opt(struct link_util *lu, int argc, char **argv, in ipvlan_parse_opt()
69 static void ipvlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in ipvlan_print_opt()
86 static void ipvlan_print_help(struct link_util *lu, int argc, char **argv, in ipvlan_print_help()
92 struct link_util ipvlan_link_util = {
Diplink_ipoib.c44 static int ipoib_parse_opt(struct link_util *lu, int argc, char **argv, in ipoib_parse_opt()
83 static void ipoib_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in ipoib_print_opt()
113 static void ipoib_print_help(struct link_util *lu, int argc, char **argv, in ipoib_print_help()
119 struct link_util ipoib_link_util = {
Diplink_hsr.c44 static int hsr_parse_opt(struct link_util *lu, int argc, char **argv, in hsr_parse_opt()
83 static void hsr_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in hsr_print_opt()
129 static void hsr_print_help(struct link_util *lu, int argc, char **argv, in hsr_print_help()
135 struct link_util hsr_link_util = {
Diplink_bridge.c42 static int bridge_parse_opt(struct link_util *lu, int argc, char **argv, in bridge_parse_opt()
118 static void bridge_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bridge_print_opt()
160 static void bridge_print_help(struct link_util *lu, int argc, char **argv, in bridge_print_help()
166 struct link_util bridge_link_util = {
Diplink_geneve.c34 static int geneve_parse_opt(struct link_util *lu, int argc, char **argv, in geneve_parse_opt()
115 static void geneve_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in geneve_print_opt()
161 static void geneve_print_help(struct link_util *lu, int argc, char **argv, in geneve_print_help()
167 struct link_util geneve_link_util = {
Diplink_bridge_slave.c61 static void bridge_slave_print_opt(struct link_util *lu, FILE *f, in bridge_slave_print_opt()
118 static int bridge_slave_parse_opt(struct link_util *lu, int argc, char **argv, in bridge_slave_parse_opt()
180 static void bridge_slave_print_help(struct link_util *lu, int argc, char **argv, in bridge_slave_print_help()
186 struct link_util bridge_slave_link_util = {
Dlink_veth.c31 static int veth_parse_opt(struct link_util *lu, int argc, char **argv, in veth_parse_opt()
87 static void veth_print_help(struct link_util *lu, int argc, char **argv, in veth_print_help()
93 struct link_util veth_link_util = {
Diplink_bond_slave.c52 static void bond_slave_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bond_slave_print_opt()
91 static int bond_slave_parse_opt(struct link_util *lu, int argc, char **argv, in bond_slave_parse_opt()
109 struct link_util bond_slave_link_util = {
Diplink_vlan.c83 static int vlan_parse_opt(struct link_util *lu, int argc, char **argv, in vlan_parse_opt()
198 static void vlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in vlan_print_opt()
234 static void vlan_print_help(struct link_util *lu, int argc, char **argv, in vlan_print_help()
240 struct link_util vlan_link_util = {
Dlink_vti.c46 static int vti_parse_opt(struct link_util *lu, int argc, char **argv, in vti_parse_opt()
199 static void vti_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in vti_print_opt()
248 static void vti_print_help(struct link_util *lu, int argc, char **argv, in vti_print_help()
254 struct link_util vti_link_util = {
Diplink_can.c112 static int can_parse_opt(struct link_util *lu, int argc, char **argv, in can_parse_opt()
257 static void can_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in can_print_opt()
347 static void can_print_xstats(struct link_util *lu, in can_print_xstats()
364 static void can_print_help(struct link_util *lu, int argc, char **argv, in can_print_help()
370 struct link_util can_link_util = {
Dlink_gre6.c60 static int gre_parse_opt(struct link_util *lu, int argc, char **argv, in gre_parse_opt()
298 static void gre_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in gre_print_opt()
394 static void gre_print_help(struct link_util *lu, int argc, char **argv, in gre_print_help()
400 struct link_util ip6gre_link_util = {
408 struct link_util ip6gretap_link_util = {
Dlink_ip6tnl.c58 static int ip6tunnel_parse_opt(struct link_util *lu, int argc, char **argv, in ip6tunnel_parse_opt()
255 static void ip6tunnel_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in ip6tunnel_print_opt()
345 static void ip6tunnel_print_help(struct link_util *lu, int argc, char **argv, in ip6tunnel_print_help()
351 struct link_util ip6tnl_link_util = {
Dlink_vti6.c42 static int vti6_parse_opt(struct link_util *lu, int argc, char **argv, in vti6_parse_opt()
196 static void vti6_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in vti6_print_opt()
245 struct link_util vti6_link_util = {
Dlink_gre.c50 static int gre_parse_opt(struct link_util *lu, int argc, char **argv, in gre_parse_opt()
340 static void gre_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in gre_print_opt()
471 static void gre_print_help(struct link_util *lu, int argc, char **argv, in gre_print_help()
477 struct link_util gre_link_util = {
485 struct link_util gretap_link_util = {
Dlink_iptnl.c53 static int iptunnel_parse_opt(struct link_util *lu, int argc, char **argv, in iptunnel_parse_opt()
324 static void iptunnel_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in iptunnel_print_opt()
453 static void iptunnel_print_help(struct link_util *lu, int argc, char **argv, in iptunnel_print_help()
459 struct link_util ipip_link_util = {
467 struct link_util sit_link_util = {
Diplink_vxlan.c47 static int vxlan_parse_opt(struct link_util *lu, int argc, char **argv, in vxlan_parse_opt()
306 static void vxlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in vxlan_print_opt()
450 static void vxlan_print_help(struct link_util *lu, int argc, char **argv, in vxlan_print_help()
456 struct link_util vxlan_link_util = {
Diplink_bond.c159 static int bond_parse_opt(struct link_util *lu, int argc, char **argv, in bond_parse_opt()
369 static void bond_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bond_print_opt()
571 static void bond_print_help(struct link_util *lu, int argc, char **argv, in bond_print_help()
577 struct link_util bond_link_util = {
Diplink.c116 static struct link_util *linkutil_list;
118 static struct link_util *__get_link_kind(const char *id, bool slave) in __get_link_kind()
122 struct link_util *l; in __get_link_kind()
154 struct link_util *get_link_kind(const char *id) in get_link_kind()
159 struct link_util *get_link_slave_kind(const char *id) in get_link_slave_kind()
679 struct link_util *lu = NULL; in iplink_modify()
1217 struct link_util *lu = NULL; in do_help()
Dipaddress.c226 struct link_util *lu; in print_linktype()
227 struct link_util *slave_lu; in print_linktype()