Home
last modified time | relevance | path

Searched refs:nlmsg_type (Results 1 – 25 of 51) sorted by relevance

123

/third_party/ltp/lib/
Dtst_crypto.c50 nh->nlmsg_type, nh->nlmsg_seq, ses->seq_num); in tst_crypto_recv_ack()
56 if (nh->nlmsg_type == NLMSG_ERROR) in tst_crypto_recv_ack()
60 nh->nlmsg_type, nh->nlmsg_seq); in tst_crypto_recv_ack()
73 .nlmsg_type = CRYPTO_MSG_NEWALG, in tst_crypto_add_alg()
91 .nlmsg_type = CRYPTO_MSG_DELALG, in tst_crypto_del_alg()
Dtst_rtnetlink.c137 struct nlmsghdr eom = { .nlmsg_type = NLMSG_DONE }; in tst_rtnl_send()
235 if (ptr->nlmsg_type == NLMSG_ERROR) in tst_rtnl_recv()
/third_party/ltp/testcases/kernel/crypto/
Dcrypto_user01.c143 nh->nlmsg_type, nh->nlmsg_seq, ses.seq_num); in validate_alg_list()
145 if (nh->nlmsg_type == NLMSG_DONE) in validate_alg_list()
147 if (nh->nlmsg_type != CRYPTO_MSG_GETALG) { in validate_alg_list()
150 nh->nlmsg_type, nh->nlmsg_seq); in validate_alg_list()
161 .nlmsg_type = CRYPTO_MSG_GETALG, in run()
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c119 lwsl_cx_netlink(cx, "RTM %d", h->nlmsg_type); in rops_handle_POLLIN_netlink()
133 switch (h->nlmsg_type) { in rops_handle_POLLIN_netlink()
193 h->nlmsg_type == RTM_NEWADDR ? in rops_handle_POLLIN_netlink()
206 h->nlmsg_type == RTM_NEWROUTE ? in rops_handle_POLLIN_netlink()
216 lwsl_cx_netlink(cx, "%s", h->nlmsg_type == in rops_handle_POLLIN_netlink()
243 h->nlmsg_type); in rops_handle_POLLIN_netlink()
306 switch (h->nlmsg_type) { in rops_handle_POLLIN_netlink()
411 (h->nlmsg_type == RTM_DELROUTE) ? in rops_handle_POLLIN_netlink()
561 req.hdr.nlmsg_type = RTM_GETROUTE; in rops_pt_init_destroy_netlink()
/third_party/musl/src/network/
Dnetlink.c23 u.req.nlh.nlmsg_type = type; in __netlink_enumerate()
34 if (h->nlmsg_type == NLMSG_DONE) return 0; in __netlink_enumerate()
35 if (h->nlmsg_type == NLMSG_ERROR) return -1; in __netlink_enumerate()
Dgetifaddrs.c114 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_ifaddr()
130 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_ifaddr()
Dnetlink.h9 uint16_t nlmsg_type; member
Dif_nameindex.c33 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_nameindex()
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c73 if (nlh->nlmsg_type == RTM_NEWLINK || in child_func()
74 nlh->nlmsg_type == RTM_DELLINK) { in child_func()
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c123 int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd() argument
134 msg.n.nlmsg_type = nlmsg_type; in send_cmd()
183 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id()
422 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
/third_party/toybox/toys/pending/
Dip.c172 req.nlh.nlmsg_type = type; in send_nlmesg()
633 request.mhdr.nlmsg_type = RTM_NEWLINK; in linkupdate()
635 request.mhdr.nlmsg_type = RTM_DELLINK; in linkupdate()
974 request.mhdr.nlmsg_type = RTM_GETLINK; in link_show()
1031 h->nlmsg_type = RTM_DELADDR; in print_addrinfo()
1038 if (h->nlmsg_type == RTM_DELADDR) printf("Deleted "); in print_addrinfo()
1128 req.nlm.nlmsg_type = cmd; in ipaddrupdate()
1262 if (addr_ptr->nlmsg_type == NLMSG_DONE) in ipaddrupdate()
1264 if (addr_ptr->nlmsg_type == NLMSG_ERROR) in ipaddrupdate()
1451 if (addr_ptr->nlmsg_type == RTM_NEWADDR) in ipaddr_print()
[all …]
/third_party/libbpf/src/
Dnetlink.c178 switch (nh->nlmsg_type) { in libbpf_netlink_recv()
251 req.nh.nlmsg_type = RTM_SETLINK; in __bpf_set_link_xdp_fd_replace()
364 .nh.nlmsg_type = RTM_GETLINK, in bpf_xdp_query()
488 req.nh.nlmsg_type = cmd; in tc_qdisc_modify()
648 req.nh.nlmsg_type = RTM_NEWTFILTER; in bpf_tc_attach()
723 req.nh.nlmsg_type = RTM_DELTFILTER; in __bpf_tc_detach()
790 req.nh.nlmsg_type = RTM_GETTFILTER; in bpf_tc_query()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dnetlink.c59 switch (h->nlmsg_type) { in netlink_receive()
184 req.hdr.nlmsg_type = RTM_SETLINK; in netlink_send_oper_ifla()
Dpriv_netlink.h87 u16 nlmsg_type; member
/third_party/selinux/libselinux/src/
Davc_internal.c206 switch (nlh->nlmsg_type) { in avc_netlink_process()
239 avc_prefix, nlh->nlmsg_type); in avc_netlink_process()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dnetlink.c59 switch (h->nlmsg_type) { in netlink_receive()
184 req.hdr.nlmsg_type = RTM_SETLINK; in netlink_send_oper_ifla()
Dpriv_netlink.h87 u16 nlmsg_type; member
/third_party/ltp/testcases/cve/
Dcve-2017-16939.c59 p->msg.nlmsg_type = XFRM_MSG_GETPOLICY; in setup()
/third_party/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c92 nlhdr->nlmsg_type = NLMSG_DONE; in netlink_send()
339 switch (nlhdr->nlmsg_type) { in main()
/third_party/ltp/testcases/kernel/containers/share/
Dns_ifmove.c106 req.nh.nlmsg_type = RTM_NEWLINK; in main()
/third_party/musl/porting/liteos_a/user/src/network/
Dgetifaddrs.c123 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_ifaddr()
139 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_ifaddr()
Dif_nameindex.c34 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_nameindex()
/third_party/libbpf/include/uapi/linux/
Dnetlink.h46 __u16 nlmsg_type; /* Message content */ member
/third_party/ltp/testcases/lib/
Dtst_net_iface_prefix.c63 msg.nlhdr.nlmsg_type = RTM_GETADDR; in read_iface_prefix()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_recv_thread.c225 if (nh->nlmsg_type == NLMSG_DONE)
228 if (nh->nlmsg_type == RTM_NEWADDR || nh->nlmsg_type == RTM_DELADDR) {
240 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa);
249 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa6);

123