Lines Matching refs:ans_skb
599 struct sk_buff *ans_skb = NULL; in netlbl_mgmt_listdef() local
609 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in netlbl_mgmt_listdef()
610 if (ans_skb == NULL) in netlbl_mgmt_listdef()
612 data = genlmsg_put_reply(ans_skb, info, &netlbl_mgmt_gnl_family, in netlbl_mgmt_listdef()
623 ret_val = netlbl_mgmt_listentry(ans_skb, entry); in netlbl_mgmt_listdef()
628 genlmsg_end(ans_skb, data); in netlbl_mgmt_listdef()
629 return genlmsg_reply(ans_skb, info); in netlbl_mgmt_listdef()
634 kfree_skb(ans_skb); in netlbl_mgmt_listdef()
731 struct sk_buff *ans_skb = NULL; in netlbl_mgmt_version() local
734 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in netlbl_mgmt_version()
735 if (ans_skb == NULL) in netlbl_mgmt_version()
737 data = genlmsg_put_reply(ans_skb, info, &netlbl_mgmt_gnl_family, in netlbl_mgmt_version()
742 ret_val = nla_put_u32(ans_skb, in netlbl_mgmt_version()
748 genlmsg_end(ans_skb, data); in netlbl_mgmt_version()
749 return genlmsg_reply(ans_skb, info); in netlbl_mgmt_version()
752 kfree_skb(ans_skb); in netlbl_mgmt_version()