Home
last modified time | relevance | path

Searched defs:nlh (Results 1 – 25 of 50) sorted by relevance

12

/external/iproute2/tipc/
Dnode.c27 static int node_list_cb(const struct nlmsghdr *nlh, void *data) in node_list_cb()
56 static int cmd_node_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_list()
74 static int cmd_node_set_addr(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_set_addr()
105 static int cmd_node_get_addr(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_get_addr()
133 static int netid_get_cb(const struct nlmsghdr *nlh, void *data) in netid_get_cb()
152 static int cmd_node_get_netid(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_get_netid()
170 static int cmd_node_set_netid(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_set_netid()
211 static int cmd_node_set(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_set()
233 static int cmd_node_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_get()
256 int cmd_node(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_node()
Dbearer.c70 static int enable_l2_bearer(struct nlmsghdr *nlh, struct opt *opts, in enable_l2_bearer()
86 static int get_netid_cb(const struct nlmsghdr *nlh, void *data) in get_netid_cb()
108 struct nlmsghdr *nlh; in generate_multicast() local
126 static int enable_udp_bearer(struct nlmsghdr *nlh, struct opt *opts, in enable_udp_bearer()
224 static int cmd_bearer_enable(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_enable()
301 static int add_l2_bearer(struct nlmsghdr *nlh, struct opt *opts) in add_l2_bearer()
317 static int add_udp_bearer(struct nlmsghdr *nlh, struct opt *opts) in add_udp_bearer()
352 static int cmd_bearer_disable(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_disable()
436 static int cmd_bearer_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_set_prop()
516 static int cmd_bearer_set(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_set()
[all …]
Dlink.c26 static int link_list_cb(const struct nlmsghdr *nlh, void *data) in link_list_cb()
50 static int cmd_link_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_list()
68 static int link_get_cb(const struct nlmsghdr *nlh, void *data) in link_get_cb()
94 static int cmd_link_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_get_prop()
146 static int cmd_link_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_get()
164 static int cmd_link_stat_reset(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat_reset()
317 static int link_stat_show_cb(const struct nlmsghdr *nlh, void *data) in link_stat_show_cb()
361 static int cmd_link_stat_show(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat_show()
400 static int cmd_link_stat(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat()
422 static int cmd_link_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_set_prop()
[all …]
Dmsg.c33 static int family_id_cb(const struct nlmsghdr *nlh, void *data) in family_id_cb()
48 static struct mnl_socket *msg_send(struct nlmsghdr *nlh) in msg_send()
97 static int msg_query(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) in msg_query()
116 struct nlmsghdr *nlh; in get_family() local
137 int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) in msg_doit()
143 int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) in msg_dumpit()
152 struct nlmsghdr *nlh; in msg_init() local
Dmedia.c26 static int media_list_cb(const struct nlmsghdr *nlh, void *data) in media_list_cb()
45 static int cmd_media_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_list()
63 static int media_get_cb(const struct nlmsghdr *nlh, void *data) in media_get_cb()
88 static int cmd_media_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_get_prop()
143 static int cmd_media_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_get()
166 static int cmd_media_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_set_prop()
224 static int cmd_media_set(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_set()
249 int cmd_media(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_media()
Dsocket.c26 static int publ_list_cb(const struct nlmsghdr *nlh, void *data) in publ_list_cb()
48 struct nlmsghdr *nlh; in publ_list() local
64 static int sock_list_cb(const struct nlmsghdr *nlh, void *data) in sock_list_cb()
104 static int cmd_socket_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_socket_list()
131 int cmd_socket(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_socket()
Dpeer.c27 static int cmd_peer_rm_addr(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_peer_rm_addr()
64 static int cmd_peer_rm(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_peer_rm()
84 int cmd_peer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_peer()
Dnametable.c26 static int nametable_show_cb(const struct nlmsghdr *nlh, void *data) in nametable_show_cb()
72 static int cmd_nametable_show(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_nametable_show()
100 int cmd_nametable(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_nametable()
/external/libnl/lib/
Dmsg.c218 void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
223 void *nlmsg_tail(const struct nlmsghdr *nlh) in nlmsg_tail()
232 int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
249 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrdata()
260 int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
272 int nlmsg_valid_hdr(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_valid_hdr()
285 int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
300 struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
319 int nlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in nlmsg_parse()
337 struct nlattr *nlmsg_find_attr(struct nlmsghdr *nlh, int hdrlen, int attrtype) in nlmsg_find_attr()
[all …]
/external/libnl/lib/netfilter/
Dnfnl.c131 uint8_t nfnlmsg_subsys(struct nlmsghdr *nlh) in nfnlmsg_subsys()
140 uint8_t nfnlmsg_subtype(struct nlmsghdr *nlh) in nfnlmsg_subtype()
149 uint8_t nfnlmsg_family(struct nlmsghdr *nlh) in nfnlmsg_family()
160 uint16_t nfnlmsg_res_id(struct nlmsghdr *nlh) in nfnlmsg_res_id()
234 struct nlmsghdr *nlh; in nfnlmsg_put() local
Dlog.c74 int nfnl_log_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_bind()
90 int nfnl_log_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_unbind()
182 int nfnl_log_create(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_create()
199 int nfnl_log_change(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_change()
220 int nfnl_log_delete(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_delete()
Dqueue.c84 int nfnl_queue_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_bind()
100 int nfnl_queue_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_unbind()
182 int nfnl_queue_create(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_create()
199 int nfnl_queue_change(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_change()
220 int nfnl_queue_delete(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_delete()
Dqueue_msg.c62 int nfnlmsg_queue_msg_parse(struct nlmsghdr *nlh, in nfnlmsg_queue_msg_parse()
149 struct nlmsghdr *nlh, struct nl_parser_param *pp) in queue_msg_parser()
199 int nfnl_queue_msg_send_verdict(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict()
224 int nfnl_queue_msg_send_verdict_payload(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict_payload()
Dlog_msg.c65 int nfnlmsg_log_msg_parse(struct nlmsghdr *nlh, struct nfnl_log_msg **result) in nfnlmsg_log_msg_parse()
170 struct nlmsghdr *nlh, struct nl_parser_param *pp) in log_msg_parser()
Dct.c275 int nfnlmsg_ct_group(struct nlmsghdr *nlh) in nfnlmsg_ct_group()
290 int nfnlmsg_ct_parse(struct nlmsghdr *nlh, struct nfnl_ct **result) in nfnlmsg_ct_parse()
358 struct nlmsghdr *nlh, struct nl_parser_param *pp) in ct_msg_parser()
/external/libnl/lib/genl/
Dgenl.c146 int genlmsg_valid_hdr(struct nlmsghdr *nlh, int hdrlen) in genlmsg_valid_hdr()
160 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in genlmsg_validate()
173 int genlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in genlmsg_parse()
201 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len() local
249 struct nlmsghdr *nlh; in genlmsg_put() local
/external/wpa_supplicant_8/src/drivers/
Dpriv_netlink.h53 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0))) argument
54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ argument
60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/external/libnl/include/linux/
Dnetlink.h80 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
81 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
83 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
86 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/external/iptables/libipq/
Dlibipq.c129 struct nlmsghdr *nlh; in ipq_netlink_recvfrom() local
272 struct nlmsghdr nlh; in ipq_set_mode() member
321 struct nlmsghdr nlh; in ipq_set_verdict() local
/external/kernel-headers/original/uapi/linux/
Dnetlink.h85 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
86 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
88 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
91 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/external/iproute2/include/linux/
Dnetlink.h85 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
86 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
88 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
91 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/external/libselinux/src/
Davc_internal.c105 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_receive() local
161 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_process() local
/external/selinux/libselinux/src/
Davc_internal.c105 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_receive() local
161 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_process() local
/external/iproute2/lib/
Dlibgenl.c12 static int genl_parse_getfamily(struct nlmsghdr *nlh) in genl_parse_getfamily()
/external/iputils/ninfod/
Dni_ifaddrs.c96 struct nlmsghdr *nlh; member
220 struct nlmsghdr *nlh = NULL; in nl_getlist() local
353 struct nlmsghdr *nlh, *nlh0; in ni_ifaddrs() local

12