• Home
  • Raw
  • Download

Lines Matching defs:link

92 static struct rtnl_link_af_ops *af_lookup_and_alloc(struct rtnl_link *link,  in af_lookup_and_alloc()
110 static int af_free(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_free()
132 static int af_clone(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_clone()
144 static int af_fill(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill()
167 static int af_fill_pi(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill_pi()
191 static int af_dump_line(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_line()
202 static int af_dump_details(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_details()
213 static int af_dump_stats(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_stats()
224 static int do_foreach_af(struct rtnl_link *link, in do_foreach_af()
250 static void release_link_info(struct rtnl_link *link) in release_link_info()
268 struct rtnl_link *link = nl_object_priv(c); in link_free_data() local
384 int rtnl_link_info_parse(struct rtnl_link *link, struct nlattr **tb) in rtnl_link_info_parse()
583 struct rtnl_link *link; in link_msg_parser() local
844 struct rtnl_link *link = (struct rtnl_link *) obj; in link_dump_line() local
904 struct rtnl_link *link = (struct rtnl_link *) obj; in link_dump_details() local
972 struct rtnl_link *link = (struct rtnl_link *) obj; in link_dump_stats() local
1088 struct rtnl_link *link = (struct rtnl_link *) obj; in link_keygen() local
1307 struct rtnl_link *link; in rtnl_link_get() local
1340 struct rtnl_link *link; in rtnl_link_get_by_name() local
1487 struct rtnl_link *link = rtnl_link_get(cache, ifindex); in rtnl_link_i2name() local
1510 struct rtnl_link *link; in rtnl_link_name2i() local
1523 int rtnl_link_fill_info(struct nl_msg *msg, struct rtnl_link *link) in rtnl_link_fill_info()
1583 struct rtnl_link *link, int flags, struct nl_msg **result) in build_link_msg()
1669 int rtnl_link_build_add_request(struct rtnl_link *link, int flags, in rtnl_link_build_add_request()
1699 int rtnl_link_add(struct nl_sock *sk, struct rtnl_link *link, int flags) in rtnl_link_add()
1853 int rtnl_link_build_delete_request(const struct rtnl_link *link, in rtnl_link_build_delete_request()
1907 int rtnl_link_delete(struct nl_sock *sk, const struct rtnl_link *link) in rtnl_link_delete()
1940 void rtnl_link_put(struct rtnl_link *link) in rtnl_link_put()
1959 void rtnl_link_set_name(struct rtnl_link *link, const char *name) in rtnl_link_set_name()
1973 char *rtnl_link_get_name(struct rtnl_link *link) in rtnl_link_get_name()
1983 void rtnl_link_set_group(struct rtnl_link *link, uint32_t group) in rtnl_link_set_group()
1995 uint32_t rtnl_link_get_group(struct rtnl_link *link) in rtnl_link_get_group()
2000 static inline void __assign_addr(struct rtnl_link *link, struct nl_addr **pos, in __assign_addr()
2023 void rtnl_link_set_addr(struct rtnl_link *link, struct nl_addr *addr) in rtnl_link_set_addr()
2037 struct nl_addr *rtnl_link_get_addr(struct rtnl_link *link) in rtnl_link_get_addr()
2054 void rtnl_link_set_broadcast(struct rtnl_link *link, struct nl_addr *addr) in rtnl_link_set_broadcast()
2068 struct nl_addr *rtnl_link_get_broadcast(struct rtnl_link *link) in rtnl_link_get_broadcast()
2081 void rtnl_link_set_flags(struct rtnl_link *link, unsigned int flags) in rtnl_link_set_flags()
2096 void rtnl_link_unset_flags(struct rtnl_link *link, unsigned int flags) in rtnl_link_unset_flags()
2112 unsigned int rtnl_link_get_flags(struct rtnl_link *link) in rtnl_link_get_flags()
2122 void rtnl_link_set_family(struct rtnl_link *link, int family) in rtnl_link_set_family()
2143 int rtnl_link_get_family(struct rtnl_link *link) in rtnl_link_get_family()
2157 void rtnl_link_set_arptype(struct rtnl_link *link, unsigned int arptype) in rtnl_link_set_arptype()
2171 unsigned int rtnl_link_get_arptype(struct rtnl_link *link) in rtnl_link_get_arptype()
2187 void rtnl_link_set_ifindex(struct rtnl_link *link, int ifindex) in rtnl_link_set_ifindex()
2202 int rtnl_link_get_ifindex(struct rtnl_link *link) in rtnl_link_get_ifindex()
2215 void rtnl_link_set_mtu(struct rtnl_link *link, unsigned int mtu) in rtnl_link_set_mtu()
2229 unsigned int rtnl_link_get_mtu(struct rtnl_link *link) in rtnl_link_get_mtu()
2244 void rtnl_link_set_txqlen(struct rtnl_link *link, unsigned int txqlen) in rtnl_link_set_txqlen()
2260 unsigned int rtnl_link_get_txqlen(struct rtnl_link *link) in rtnl_link_get_txqlen()
2265 void rtnl_link_set_link(struct rtnl_link *link, int ifindex) in rtnl_link_set_link()
2271 int rtnl_link_get_link(struct rtnl_link *link) in rtnl_link_get_link()
2284 int rtnl_link_set_link_netnsid(struct rtnl_link *link, int32_t link_netnsid) in rtnl_link_set_link_netnsid()
2301 int rtnl_link_get_link_netnsid(const struct rtnl_link *link, int32_t *out_link_netnsid) in rtnl_link_get_link_netnsid()
2317 void rtnl_link_set_master(struct rtnl_link *link, int ifindex) in rtnl_link_set_master()
2330 int rtnl_link_get_master(struct rtnl_link *link) in rtnl_link_get_master()
2342 void rtnl_link_set_carrier(struct rtnl_link *link, uint8_t status) in rtnl_link_set_carrier()
2355 uint8_t rtnl_link_get_carrier(struct rtnl_link *link) in rtnl_link_get_carrier()
2367 int rtnl_link_get_carrier_changes(struct rtnl_link *link, uint32_t *carrier_changes) in rtnl_link_get_carrier_changes()
2386 void rtnl_link_set_operstate(struct rtnl_link *link, uint8_t status) in rtnl_link_set_operstate()
2400 uint8_t rtnl_link_get_operstate(struct rtnl_link *link) in rtnl_link_get_operstate()
2413 void rtnl_link_set_linkmode(struct rtnl_link *link, uint8_t mode) in rtnl_link_set_linkmode()
2427 uint8_t rtnl_link_get_linkmode(struct rtnl_link *link) in rtnl_link_get_linkmode()
2440 const char *rtnl_link_get_ifalias(struct rtnl_link *link) in rtnl_link_get_ifalias()
2457 void rtnl_link_set_ifalias(struct rtnl_link *link, const char *alias) in rtnl_link_set_ifalias()
2483 void rtnl_link_set_qdisc(struct rtnl_link *link, const char *name) in rtnl_link_set_qdisc()
2497 char *rtnl_link_get_qdisc(struct rtnl_link *link) in rtnl_link_get_qdisc()
2510 int rtnl_link_get_num_vf(struct rtnl_link *link, uint32_t *num_vf) in rtnl_link_get_num_vf()
2526 uint64_t rtnl_link_get_stat(struct rtnl_link *link, rtnl_link_stat_id_t id) in rtnl_link_get_stat()
2545 int rtnl_link_set_stat(struct rtnl_link *link, rtnl_link_stat_id_t id, in rtnl_link_set_stat()
2568 int rtnl_link_set_type(struct rtnl_link *link, const char *type) in rtnl_link_set_type()
2610 char *rtnl_link_get_type(struct rtnl_link *link) in rtnl_link_get_type()
2625 int rtnl_link_set_slave_type(struct rtnl_link *link, const char *type) in rtnl_link_set_slave_type()
2652 const char *rtnl_link_get_slave_type(const struct rtnl_link *link) in rtnl_link_get_slave_type()
2667 void rtnl_link_set_promiscuity(struct rtnl_link *link, uint32_t count) in rtnl_link_set_promiscuity()
2680 uint32_t rtnl_link_get_promiscuity(struct rtnl_link *link) in rtnl_link_get_promiscuity()
2699 void rtnl_link_set_num_tx_queues(struct rtnl_link *link, uint32_t nqueues) in rtnl_link_set_num_tx_queues()
2711 uint32_t rtnl_link_get_num_tx_queues(struct rtnl_link *link) in rtnl_link_get_num_tx_queues()
2730 void rtnl_link_set_num_rx_queues(struct rtnl_link *link, uint32_t nqueues) in rtnl_link_set_num_rx_queues()
2742 uint32_t rtnl_link_get_num_rx_queues(struct rtnl_link *link) in rtnl_link_get_num_rx_queues()
2754 int rtnl_link_get_gso_max_segs(struct rtnl_link *link, uint32_t *gso_max_segs) in rtnl_link_get_gso_max_segs()
2772 int rtnl_link_get_gso_max_size(struct rtnl_link *link, uint32_t *gso_max_size) in rtnl_link_get_gso_max_size()
2789 struct nl_data *rtnl_link_get_phys_port_id(struct rtnl_link *link) in rtnl_link_get_phys_port_id()
2800 char *rtnl_link_get_phys_port_name(struct rtnl_link *link) in rtnl_link_get_phys_port_name()
2811 struct nl_data *rtnl_link_get_phys_switch_id(struct rtnl_link *link) in rtnl_link_get_phys_switch_id()
2816 void rtnl_link_set_ns_fd(struct rtnl_link *link, int fd) in rtnl_link_set_ns_fd()
2822 int rtnl_link_get_ns_fd(struct rtnl_link *link) in rtnl_link_get_ns_fd()
2827 void rtnl_link_set_ns_pid(struct rtnl_link *link, pid_t pid) in rtnl_link_set_ns_pid()
2833 pid_t rtnl_link_get_ns_pid(struct rtnl_link *link) in rtnl_link_get_ns_pid()
2860 struct rtnl_link *link; in rtnl_link_enslave_ifindex() local
3131 int rtnl_link_has_vf_list(struct rtnl_link *link) { in rtnl_link_has_vf_list()
3138 void rtnl_link_set_vf_list(struct rtnl_link *link) { in rtnl_link_set_vf_list()
3147 void rtnl_link_unset_vf_list(struct rtnl_link *link) { in rtnl_link_unset_vf_list()
3165 int rtnl_link_set_info_type(struct rtnl_link *link, const char *type) in rtnl_link_set_info_type()
3173 char *rtnl_link_get_info_type(struct rtnl_link *link) in rtnl_link_get_info_type()
3181 void rtnl_link_set_weight(struct rtnl_link *link, unsigned int weight) in rtnl_link_set_weight()
3190 unsigned int rtnl_link_get_weight(struct rtnl_link *link) in rtnl_link_get_weight()