/openbmc/linux/tools/net/ynl/lib/ |
H A D | ynl.h | 19 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() 152 struct ynl_sock *ys; 201 int ynl_recv_ack(struct ynl_sock *ys, int ret); [all …]
|
H A D | ynl.c | 387 static void ynl_err_reset(struct ynl_sock *ys) in ynl_err_reset() 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() 451 int ynl_recv_ack(struct ynl_sock *ys, int ret) in ynl_recv_ack() 519 struct ynl_sock *ys = yarg->ys; in ynl_get_family_info_cb() 585 struct ynl_sock * 588 struct ynl_sock *ys; in ynl_sock_create() 636 void ynl_sock_destroy(struct ynl_sock *ys) in ynl_sock_destroy() 678 int ynl_socket_get_fd(struct ynl_sock *ys) in ynl_socket_get_fd() [all …]
|
/openbmc/linux/tools/net/ynl/generated/ |
H A D | netdev-user.h | 14 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 D | devlink-user.h | 14 struct ynl_sock; 271 devlink_port_get_dump(struct ynl_sock *ys, 518 devlink_sb_pool_get_dump(struct ynl_sock *ys, 612 devlink_sb_port_pool_get(struct ynl_sock *ys, 942 devlink_param_get_dump(struct ynl_sock *ys, 1074 devlink_region_get_dump(struct ynl_sock *ys, 1419 devlink_trap_get_dump(struct ynl_sock *ys, 1492 devlink_trap_group_get(struct ynl_sock *ys, 1615 devlink_trap_policer_get(struct ynl_sock *ys, 1799 devlink_rate_get_dump(struct ynl_sock *ys, [all …]
|
H A D | handshake-user.h | 14 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 D | ethtool-user.h | 15 struct ynl_sock; 356 ethtool_strset_get_dump(struct ynl_sock *ys, 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, 895 int ethtool_linkmodes_set(struct ynl_sock *ys, 968 ethtool_linkstate_get(struct ynl_sock *ys, 1138 ethtool_debug_get_dump(struct ynl_sock *ys, 1797 ethtool_privflags_get(struct ynl_sock *ys, 2081 ethtool_rings_get_dump(struct ynl_sock *ys, [all …]
|
H A D | fou-user.h | 14 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 D | devlink-user.c | 727 devlink_port_get_dump(struct ynl_sock *ys, in devlink_port_get_dump() 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() 1501 devlink_param_get_dump(struct ynl_sock *ys, in devlink_param_get_dump() 1660 devlink_region_get_dump(struct ynl_sock *ys, in devlink_region_get_dump() 2216 devlink_trap_get_dump(struct ynl_sock *ys, in devlink_trap_get_dump() 2317 devlink_trap_group_get(struct ynl_sock *ys, in devlink_trap_group_get() 2464 devlink_trap_policer_get(struct ynl_sock *ys, in devlink_trap_policer_get() 2675 devlink_rate_get_dump(struct ynl_sock *ys, in devlink_rate_get_dump() 2818 devlink_linecard_get_dump(struct ynl_sock *ys, in devlink_linecard_get_dump() [all …]
|
H A D | ethtool-user.c | 1651 ethtool_strset_get_dump(struct ynl_sock *ys, in ethtool_strset_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() 2177 ethtool_linkstate_get(struct ynl_sock *ys, in ethtool_linkstate_get() 2352 ethtool_debug_get_dump(struct ynl_sock *ys, in ethtool_debug_get_dump() 2951 ethtool_privflags_get(struct ynl_sock *ys, in ethtool_privflags_get() 3229 ethtool_rings_get_dump(struct ynl_sock *ys, in ethtool_rings_get_dump() 3990 ethtool_pause_get_dump(struct ynl_sock *ys, in ethtool_pause_get_dump() 4399 ethtool_tsinfo_get_dump(struct ynl_sock *ys, in ethtool_tsinfo_get_dump() 4537 ethtool_tunnel_info_get(struct ynl_sock *ys, in ethtool_tunnel_info_get() [all …]
|
H A D | fou-user.c | 73 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 D | netdev-user.c | 107 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 D | handshake-user.c | 245 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 D | devlink.c | 12 struct ynl_sock *ys; in main()
|
H A D | ethtool.c | 17 struct ynl_sock *ys; in main()
|
H A D | netdev.c | 54 struct ynl_sock *ys; in main()
|