Searched refs:nlmsghdr (Results 1 – 7 of 7) sorted by relevance
50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr)))55 (struct nlmsghdr *) \57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \84 struct nlmsghdr struct
26 struct nlmsghdr *h) in netlink_receive_link()43 struct nlmsghdr *h; in netlink_receive()57 h = (struct nlmsghdr *) buf; in netlink_receive()173 struct nlmsghdr hdr; in netlink_send_oper_ifla()
512 struct nlmsghdr *ret_hdr = nlmsg_hdr(msg); in dump_callback()
332 struct nlmsghdr *nlh = (struct nlmsghdr *) err - 1; in error_handler()378 struct nlmsghdr *hdr = nlmsg_hdr(msg); in nl80211_nlmsg_clear()
47 struct nlmsghdr *nlh = (struct nlmsghdr *)send_buf; in kernel_ack()107 switch (((struct nlmsghdr *)recv_buf)->nlmsg_type) { in kernel_recv()113 msg = (struct cn_msg *)NLMSG_DATA((struct nlmsghdr *)recv_buf); in kernel_recv()114 len -= sizeof(struct nlmsghdr); in kernel_recv()186 struct nlmsghdr *nlh; in kernel_send_helper()191 nlh = (struct nlmsghdr *)send_buf; in kernel_send_helper()
635 vlan_read_ifnames(struct nlmsghdr *h, size_t len, int del, in vlan_read_ifnames()703 struct nlmsghdr *h; in vlan_event_receive()716 h = (struct nlmsghdr *) buf; in vlan_event_receive()
292 int (*)(struct dhcpcd_ctx *, void *, struct nlmsghdr *), void *);