Lines Matching defs:type
50 * type - netlink message type
55 struct nl_msg *nlmsg_alloc_generic(uint16_t type, uint16_t flags, void *payload_struct, size_t payload_len) {
70 msg->nm_nlh->nlmsg_type = type;
79 * type - netlink message type
83 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) {
84 return nlmsg_alloc_generic(type, flags, ifa, sizeof(*ifa));
89 * type - netlink message type
93 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi) {
94 return nlmsg_alloc_generic(type, flags, ifi, sizeof(*ifi));
99 * type - netlink message type
103 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt) {
104 return nlmsg_alloc_generic(type, flags, rt, sizeof(*rt));
152 * type - netlink message type
157 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) {
160 msg = nlmsg_alloc_ifaddr(type, flags, ifa);