Searched refs:nlmsghdr (Results 1 – 5 of 5) 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()
519 struct nlmsghdr *ret_hdr = nlmsg_hdr(msg); in dump_callback()
298 ack_len = sizeof(struct nlmsghdr) + sizeof(int) + in ack_handler_cookie()299 sizeof(struct nlmsghdr); in ack_handler_cookie()301 ((u8 *) nlmsg_data(nlmsg_hdr(msg)) + sizeof(struct nlmsghdr) + in ack_handler_cookie()329 struct nlmsghdr *nlh = (struct nlmsghdr *) err - 1; in error_handler()375 struct nlmsghdr *hdr = nlmsg_hdr(msg); in nl80211_nlmsg_clear()
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()