Home
last modified time | relevance | path

Searched defs:nlctx (Results 1 – 25 of 30) sorted by relevance

12

/external/ethtool/netlink/
Dtunnels.c22 tunnel_info_strings_load(struct nl_context *nlctx, in tunnel_info_strings_load()
38 tunnel_info_dump_udp_entry(struct nl_context *nlctx, const struct nlattr *entry, in tunnel_info_dump_udp_entry()
94 tunnel_info_dump_list(struct nl_context *nlctx, const struct nlattr *attr, in tunnel_info_dump_list()
119 tunnel_info_dump_udp_table(const struct nlattr *table, struct nl_context *nlctx, in tunnel_info_dump_udp_table()
168 tunnel_info_dump_udp(const struct nlattr *udp_ports, struct nl_context *nlctx) in tunnel_info_dump_udp()
193 struct nl_context *nlctx = data; in tunnel_info_reply_cb() local
219 struct nl_context *nlctx = ctx->nlctx; in nl_gtunnels() local
Dmonitor.c80 static void clear_filter(struct nl_context *nlctx) in clear_filter()
88 static bool test_filter_cmd(const struct nl_context *nlctx, unsigned int cmd) in test_filter_cmd()
93 static void set_filter_cmd(struct nl_context *nlctx, unsigned int cmd) in set_filter_cmd()
98 static void set_filter_all(struct nl_context *nlctx) in set_filter_all()
109 struct nl_context *nlctx = data; in monitor_any_cb() local
216 struct nl_context *nlctx = ctx->nlctx; in parse_monitor() local
254 struct nl_context *nlctx; in nl_monitor() local
Dplca.c24 struct nl_context *nlctx = data; in plca_get_cfg_reply_cb() local
124 struct nl_context *nlctx = ctx->nlctx; in nl_plca_get_cfg() local
190 struct nl_context *nlctx = ctx->nlctx; in nl_plca_set_cfg() local
238 struct nl_context *nlctx = data; in plca_get_status_reply_cb() local
276 struct nl_context *nlctx = ctx->nlctx; in nl_plca_get_status() local
Dnetlink.c117 struct nl_context *nlctx = ctx->nlctx; in netlink_cmd_check() local
139 struct nl_context *nlctx; member
244 static int read_flags_policy(struct nl_context *nlctx, struct nl_socket *nlsk, in read_flags_policy()
277 u32 get_stats_flag(struct nl_context *nlctx, unsigned int nlcmd, in get_stats_flag()
294 static int genl_read_ops(struct nl_context *nlctx, in genl_read_ops()
331 static void find_mc_group(struct nl_context *nlctx, struct nlattr *nest) in find_mc_group()
357 struct nl_context *nlctx = data; in family_info_cb() local
387 static int get_genl_family(struct nl_context *nlctx, struct nl_socket *nlsk) in get_genl_family()
413 struct nl_context *nlctx; in netlink_init() local
440 struct nl_context *nlctx = ctx->nlctx; in netlink_done() local
[all …]
Dmodule.c49 struct nl_context *nlctx = data; in module_reply_cb() local
96 struct nl_context *nlctx = ctx->nlctx; in nl_gmodule() local
141 struct nl_context *nlctx = ctx->nlctx; in nl_smodule() local
209 struct nl_context *nlctx = data; in module_fw_flash_ntf_cb() local
294 struct nl_context *nlctx = ctx->nlctx; in nl_flash_module_fw_process_ntf() local
323 struct nl_context *nlctx = ctx->nlctx; in nl_flash_module_fw() local
Dparser.c17 static void parser_err_unknown_param(struct nl_context *nlctx) in parser_err_unknown_param()
23 static void parser_err_dup_param(struct nl_context *nlctx) in parser_err_dup_param()
29 static void parser_err_min_argc(struct nl_context *nlctx, unsigned int min_argc) in parser_err_min_argc()
40 static void parser_err_invalid_value(struct nl_context *nlctx, const char *val) in parser_err_invalid_value()
46 static void parser_err_invalid_flag(struct nl_context *nlctx, const char *flag) in parser_err_invalid_flag()
170 int nl_parse_string(struct nl_context *nlctx, uint16_t type, in nl_parse_string()
187 int nl_parse_direct_u32(struct nl_context *nlctx, uint16_t type, in nl_parse_direct_u32()
211 int nl_parse_direct_u8(struct nl_context *nlctx, uint16_t type, in nl_parse_direct_u8()
235 int nl_parse_direct_m2cm(struct nl_context *nlctx, uint16_t type, in nl_parse_direct_m2cm()
261 int nl_parse_u8bool(struct nl_context *nlctx, uint16_t type, in nl_parse_u8bool()
[all …]
Dcoalesce.c22 struct nl_context *nlctx = data; in coalesce_reply_cb() local
107 struct nl_context *nlctx = ctx->nlctx; in nl_gcoalesce() local
300 struct nl_context *nlctx = ctx->nlctx; in nl_scoalesce() local
Dchannels.c22 struct nl_context *nlctx = data; in channels_reply_cb() local
57 struct nl_context *nlctx = ctx->nlctx; in nl_gchannels() local
108 struct nl_context *nlctx = ctx->nlctx; in nl_schannels() local
Dpermaddr.c22 struct nl_context *nlctx = nlsk->nlctx; in permaddr_prep_request() local
64 struct nl_context *nlctx = data; in permaddr_reply_cb() local
104 struct nl_context *nlctx = ctx->nlctx; in nl_permaddr() local
Dsettings.c239 static void print_banner(struct nl_context *nlctx) in print_banner()
247 int dump_link_modes(struct nl_context *nlctx, const struct nlattr *bitset, in dump_link_modes()
394 static int dump_our_modes(struct nl_context *nlctx, const struct nlattr *attr) in dump_our_modes()
455 static int dump_peer_modes(struct nl_context *nlctx, const struct nlattr *attr) in dump_peer_modes()
494 struct nl_context *nlctx = data; in linkmodes_reply_cb() local
584 struct nl_context *nlctx = data; in linkinfo_reply_cb() local
793 struct nl_context *nlctx = data; in linkstate_reply_cb() local
861 struct nl_context *nlctx = data; in wol_reply_cb() local
917 struct nl_context *nlctx = data; in debug_reply_cb() local
959 struct nl_context *nlctx = data; in plca_cfg_reply_cb() local
[all …]
Deee.c26 struct nl_context *nlctx = data; in eee_reply_cb() local
95 struct nl_context *nlctx = ctx->nlctx; in nl_geee() local
159 struct nl_context *nlctx = ctx->nlctx; in nl_seee() local
Drings.c22 struct nl_context *nlctx = data; in rings_reply_cb() local
94 struct nl_context *nlctx = ctx->nlctx; in nl_gring() local
202 struct nl_context *nlctx = ctx->nlctx; in nl_sring() local
Dpause.c43 struct nl_context *nlctx = data; in pause_autoneg_cb() local
85 static int show_pause_autoneg_status(struct nl_context *nlctx) in show_pause_autoneg_status()
169 struct nl_context *nlctx = data; in pause_reply_cb() local
239 struct nl_context *nlctx = ctx->nlctx; in nl_gpause() local
296 struct nl_context *nlctx = ctx->nlctx; in nl_spause() local
Drss.c18 struct nl_context *nlctx; member
67 struct nl_context *nlctx = args->nlctx; in get_num_rings() local
95 struct nl_context *nlctx = args->nlctx; in rss_reply_cb() local
188 struct nl_context *nlctx = ctx->nlctx; in nl_grss() local
Dfeatures.c210 struct nl_context *nlctx = data; in features_reply_cb() local
240 struct nl_context *nlctx = ctx->nlctx; in nl_gfeatures() local
301 static void set_sf_req_mask(struct nl_context *nlctx, unsigned int idx) in set_sf_req_mask()
308 static int fill_legacy_flag(struct nl_context *nlctx, const char *flag_name, in fill_legacy_flag()
341 int fill_sfeatures_bitmap(struct nl_context *nlctx, in fill_sfeatures_bitmap()
404 static void show_feature_changes(struct nl_context *nlctx, in show_feature_changes()
482 struct nl_context *nlctx = data; in sfeatures_reply_cb() local
508 struct nl_context *nlctx = ctx->nlctx; in nl_sfeatures() local
Dfec.c122 struct nl_context *nlctx = data; in fec_reply_cb() local
201 struct nl_context *nlctx = ctx->nlctx; in nl_gfec() local
236 static int fec_parse_bitset(struct nl_context *nlctx, uint16_t type, in fec_parse_bitset()
321 struct nl_context *nlctx = ctx->nlctx; in nl_sfec() local
Dprivflags.c56 struct nl_context *nlctx = data; in privflags_reply_cb() local
94 struct nl_context *nlctx = ctx->nlctx; in nl_gprivflags() local
122 struct nl_context *nlctx = ctx->nlctx; in nl_sprivflags() local
Dmm.c102 struct nl_context *nlctx = data; in mm_reply_cb() local
170 struct nl_context *nlctx = ctx->nlctx; in nl_get_mm() local
233 struct nl_context *nlctx = ctx->nlctx; in nl_set_mm() local
Dstats.c90 static int parse_grp(struct nl_context *nlctx, const struct nlattr *grp, in parse_grp()
172 struct nl_context *nlctx = data; in stats_reply_cb() local
223 static int stats_parse_all_groups(struct nl_context *nlctx, uint16_t type, in stats_parse_all_groups()
305 struct nl_context *nlctx = ctx->nlctx; in nl_gstats() local
Dtsinfo.c85 static int tsinfo_dump_list(struct nl_context *nlctx, const struct nlattr *attr, in tsinfo_dump_list()
115 struct nl_context *nlctx = data; in tsinfo_reply_cb() local
168 struct nl_context *nlctx = ctx->nlctx; in nl_tsinfo() local
Dphy.c30 struct nl_context *nlctx = data; in phy_reply_cb() local
95 struct nl_context *nlctx = ctx->nlctx; in nl_get_phy() local
Dcable_test.c170 struct nl_context *nlctx = data; in cable_test_ntf_stop_cb() local
246 struct nl_context *nlctx = ctx->nlctx; in nl_cable_test_process_results() local
271 struct nl_context *nlctx = ctx->nlctx; in nl_cable_test() local
438 struct nl_context *nlctx = data; in cable_test_tdr_ntf_stop_cb() local
518 struct nl_context *nlctx = ctx->nlctx; in nl_cable_test_tdr_process_results() local
571 struct nl_context *nlctx = ctx->nlctx; in nl_cable_test_tdr() local
Dpse-pd.c310 struct nl_context *nlctx = data; in pse_reply_cb() local
430 struct nl_context *nlctx = ctx->nlctx; in nl_gpse() local
495 struct nl_context *nlctx = ctx->nlctx; in nl_spse() local
Dnlsock.c281 struct nl_context *nlctx = nlsk->nlctx; in nlsock_prep_get_request() local
317 struct nl_context *nlctx = nlsk->nlctx; in nlsock_prep_filtered_dump_request() local
392 int nlsock_init(struct nl_context *nlctx, struct nl_socket **__nlsk, int nl_fam) in nlsock_init()
Dnetlink.h157 static inline bool dev_ok(const struct nl_context *nlctx) in dev_ok()
164 static inline int netlink_init_ethnl2_socket(struct nl_context *nlctx) in netlink_init_ethnl2_socket()
171 static inline int netlink_init_rtnl_socket(struct nl_context *nlctx) in netlink_init_rtnl_socket()

12