Home
last modified time | relevance | path

Searched refs:ynl_sock (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/tools/net/ynl/lib/
H A Dynl.h19 struct ynl_sock;
65 struct ynl_sock { struct
91 struct ynl_sock * argument
93 void ynl_sock_destroy(struct ynl_sock *ys);
100 int ynl_subscribe(struct ynl_sock *ys, const char *grp_name);
101 int ynl_socket_get_fd(struct ynl_sock *ys);
102 int ynl_ntf_check(struct ynl_sock *ys);
112 static inline bool ynl_has_ntf(struct ynl_sock *ys) in ynl_has_ntf()
116 struct ynl_ntf_base_type *ynl_ntf_dequeue(struct ynl_sock *ys);
152 struct ynl_sock *ys;
[all …]
H A Dynl.c76 ynl_err_walk(struct ynl_sock *ys, void *start, void *end, unsigned int off, in ynl_err_walk()
139 ynl_ext_ack_check(struct ynl_sock *ys, const struct nlmsghdr *nlh, in ynl_ext_ack_check()
387 static void ynl_err_reset(struct ynl_sock *ys) in ynl_err_reset()
394 struct nlmsghdr *ynl_msg_start(struct ynl_sock *ys, __u32 id, __u16 flags) in ynl_msg_start()
409 ynl_gemsg_start(struct ynl_sock *ys, __u32 id, __u16 flags, in ynl_gemsg_start()
428 void ynl_msg_start_req(struct ynl_sock *ys, __u32 id) in ynl_msg_start_req()
433 void ynl_msg_start_dump(struct ynl_sock *ys, __u32 id) in ynl_msg_start_dump()
439 ynl_gemsg_start_req(struct ynl_sock *ys, __u32 id, __u8 cmd, __u8 version) in ynl_gemsg_start_req()
445 ynl_gemsg_start_dump(struct ynl_sock *ys, __u32 id, __u8 cmd, __u8 version) in ynl_gemsg_start_dump()
451 int ynl_recv_ack(struct ynl_sock *ys, int ret) in ynl_recv_ack()
[all …]
/openbmc/linux/tools/net/ynl/generated/
H A Ddevlink-user.h14 struct ynl_sock;
132 devlink_get(struct ynl_sock *ys, struct devlink_get_req *req);
142 struct devlink_get_list *devlink_get_dump(struct ynl_sock *ys);
210 devlink_port_get(struct ynl_sock *ys, struct devlink_port_get_req *req);
271 devlink_port_get_dump(struct ynl_sock *ys,
339 devlink_sb_get(struct ynl_sock *ys, struct devlink_sb_get_req *req);
388 devlink_sb_get_dump(struct ynl_sock *ys, struct devlink_sb_get_req_dump *req);
468 devlink_sb_pool_get(struct ynl_sock *ys, struct devlink_sb_pool_get_req *req);
518 devlink_sb_pool_get_dump(struct ynl_sock *ys,
612 devlink_sb_port_pool_get(struct ynl_sock *ys,
[all …]
H A Dnetdev-user.h14 struct ynl_sock;
64 netdev_dev_get(struct ynl_sock *ys, struct netdev_dev_get_req *req);
74 struct netdev_dev_get_list *netdev_dev_get_dump(struct ynl_sock *ys);
H A Dhandshake-user.h14 struct ynl_sock;
85 handshake_accept(struct ynl_sock *ys, struct handshake_accept_req *req);
143 int handshake_done(struct ynl_sock *ys, struct handshake_done_req *req);
H A Dethtool-user.h15 struct ynl_sock;
286 ethtool_strset_get(struct ynl_sock *ys, struct ethtool_strset_get_req *req);
356 ethtool_strset_get_dump(struct ynl_sock *ys,
427 ethtool_linkinfo_get(struct ynl_sock *ys, struct ethtool_linkinfo_get_req *req);
481 ethtool_linkinfo_get_dump(struct ynl_sock *ys,
587 int ethtool_linkinfo_set(struct ynl_sock *ys,
666 ethtool_linkmodes_get(struct ynl_sock *ys,
721 ethtool_linkmodes_get_dump(struct ynl_sock *ys,
895 int ethtool_linkmodes_set(struct ynl_sock *ys,
968 ethtool_linkstate_get(struct ynl_sock *ys,
[all …]
H A Dfou-user.h14 struct ynl_sock;
124 int fou_add(struct ynl_sock *ys, struct fou_add_req *req);
214 int fou_del(struct ynl_sock *ys, struct fou_del_req *req);
331 struct fou_get_rsp *fou_get(struct ynl_sock *ys, struct fou_get_req *req);
341 struct fou_get_list *fou_get_dump(struct ynl_sock *ys);
H A Ddevlink-user.c499 devlink_get(struct ynl_sock *ys, struct devlink_get_req *req) in devlink_get()
547 struct devlink_get_list *devlink_get_dump(struct ynl_sock *ys) in devlink_get_dump()
633 devlink_port_get(struct ynl_sock *ys, struct devlink_port_get_req *req) in devlink_port_get()
727 devlink_port_get_dump(struct ynl_sock *ys, in devlink_port_get_dump()
820 devlink_sb_get(struct ynl_sock *ys, struct devlink_sb_get_req *req) in devlink_sb_get()
870 devlink_sb_get_dump(struct ynl_sock *ys, struct devlink_sb_get_req_dump *req) in devlink_sb_get_dump()
967 devlink_sb_pool_get(struct ynl_sock *ys, struct devlink_sb_pool_get_req *req) in devlink_sb_pool_get()
1019 devlink_sb_pool_get_dump(struct ynl_sock *ys, in devlink_sb_pool_get_dump()
1124 devlink_sb_port_pool_get(struct ynl_sock *ys, in devlink_sb_port_pool_get()
1180 devlink_sb_port_pool_get_dump(struct ynl_sock *ys, in devlink_sb_port_pool_get_dump()
[all …]
H A Dethtool-user.c1601 ethtool_strset_get(struct ynl_sock *ys, struct ethtool_strset_get_req *req) in ethtool_strset_get()
1651 ethtool_strset_get_dump(struct ynl_sock *ys, in ethtool_strset_get_dump()
1753 ethtool_linkinfo_get(struct ynl_sock *ys, struct ethtool_linkinfo_get_req *req) in ethtool_linkinfo_get()
1798 ethtool_linkinfo_get_dump(struct ynl_sock *ys, in ethtool_linkinfo_get_dump()
1843 int ethtool_linkinfo_set(struct ynl_sock *ys, in ethtool_linkinfo_set()
1970 ethtool_linkmodes_get(struct ynl_sock *ys, in ethtool_linkmodes_get()
2018 ethtool_linkmodes_get_dump(struct ynl_sock *ys, in ethtool_linkmodes_get_dump()
2067 int ethtool_linkmodes_set(struct ynl_sock *ys, in ethtool_linkmodes_set()
2177 ethtool_linkstate_get(struct ynl_sock *ys, in ethtool_linkstate_get()
2223 ethtool_linkstate_get_dump(struct ynl_sock *ys, in ethtool_linkstate_get_dump()
[all …]
H A Dfou-user.c73 int fou_add(struct ynl_sock *ys, struct fou_add_req *req) in fou_add()
118 int fou_del(struct ynl_sock *ys, struct fou_del_req *req) in fou_del()
242 struct fou_get_rsp *fou_get(struct ynl_sock *ys, struct fou_get_req *req) in fou_get()
301 struct fou_get_list *fou_get_dump(struct ynl_sock *ys) in fou_get_dump()
H A Dnetdev-user.c107 netdev_dev_get(struct ynl_sock *ys, struct netdev_dev_get_req *req) in netdev_dev_get()
150 struct netdev_dev_get_list *netdev_dev_get_dump(struct ynl_sock *ys) in netdev_dev_get_dump()
H A Dhandshake-user.c245 handshake_accept(struct ynl_sock *ys, struct handshake_accept_req *req) in handshake_accept()
296 int handshake_done(struct ynl_sock *ys, struct handshake_done_req *req) in handshake_done()
/openbmc/linux/tools/net/ynl/samples/
H A Ddevlink.c12 struct ynl_sock *ys; in main()
H A Dethtool.c17 struct ynl_sock *ys; in main()
H A Dnetdev.c54 struct ynl_sock *ys; in main()