Lines Matching refs:msg
19 static int nl_seq_check_handler(struct nl_msg *msg, void *arg) in nl_seq_check_handler() argument
35 static int nl_finish_handler(struct nl_msg *msg, void *arg) in nl_finish_handler() argument
45 static int nl_ack_handler(struct nl_msg *msg, void *arg) in nl_ack_handler() argument
55 int nl_send_msg(struct nl_sock *sock, struct nl_cb *cb, struct nl_msg *msg, in nl_send_msg() argument
61 err = nl_send_auto_complete(sock, msg); in nl_send_msg()
75 static int nl_family_handler(struct nl_msg *msg, void *arg) in nl_family_handler() argument
79 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl_family_handler()
116 struct nl_msg *msg; in nl_get_multicast_id() local
123 msg = nlmsg_alloc(); in nl_get_multicast_id()
124 if (!msg) in nl_get_multicast_id()
129 genlmsg_put(msg, 0, 0, ctrlid, 0, 0, CTRL_CMD_GETFAMILY, 0); in nl_get_multicast_id()
131 nla_put_string(msg, CTRL_ATTR_FAMILY_NAME, family); in nl_get_multicast_id()
133 ret = nl_send_msg(sock, cb, msg, nl_family_handler, &grp); in nl_get_multicast_id()
140 nlmsg_free(msg); in nl_get_multicast_id()