Home
last modified time | relevance | path

Searched refs:ans_skb (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/netlabel/
H A Dnetlabel_cipso_v4.c451 struct sk_buff *ans_skb = NULL; in netlbl_cipsov4_list() local
467 if (ans_skb == NULL) { in netlbl_cipsov4_list()
500 ret_val = nla_put_u8(ans_skb, in netlbl_cipsov4_list()
506 nla_nest_end(ans_skb, nla_a); in netlbl_cipsov4_list()
539 nla_nest_end(ans_skb, nla_b); in netlbl_cipsov4_list()
541 nla_nest_end(ans_skb, nla_a); in netlbl_cipsov4_list()
572 nla_nest_end(ans_skb, nla_b); in netlbl_cipsov4_list()
574 nla_nest_end(ans_skb, nla_a); in netlbl_cipsov4_list()
581 genlmsg_end(ans_skb, data); in netlbl_cipsov4_list()
589 kfree_skb(ans_skb); in netlbl_cipsov4_list()
[all …]
H A Dnetlabel_mgmt.c599 struct sk_buff *ans_skb = NULL; in netlbl_mgmt_listdef() local
610 if (ans_skb == NULL) 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
735 if (ans_skb == NULL) 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()
[all …]
H A Dnetlabel_calipso.c158 struct sk_buff *ans_skb = NULL; in netlbl_calipso_list() local
176 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in netlbl_calipso_list()
177 if (!ans_skb) { in netlbl_calipso_list()
181 data = genlmsg_put_reply(ans_skb, info, &netlbl_calipso_gnl_family, in netlbl_calipso_list()
188 ret_val = nla_put_u32(ans_skb, NLBL_CALIPSO_A_MTYPE, doi_def->type); in netlbl_calipso_list()
194 genlmsg_end(ans_skb, data); in netlbl_calipso_list()
195 return genlmsg_reply(ans_skb, info); in netlbl_calipso_list()
200 kfree_skb(ans_skb); in netlbl_calipso_list()
H A Dnetlabel_unlabeled.c837 struct sk_buff *ans_skb; in netlbl_unlabel_list() local
840 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in netlbl_unlabel_list()
841 if (ans_skb == NULL) in netlbl_unlabel_list()
843 data = genlmsg_put_reply(ans_skb, info, &netlbl_unlabel_gnl_family, in netlbl_unlabel_list()
850 ret_val = nla_put_u8(ans_skb, in netlbl_unlabel_list()
856 genlmsg_end(ans_skb, data); in netlbl_unlabel_list()
857 return genlmsg_reply(ans_skb, info); in netlbl_unlabel_list()
860 kfree_skb(ans_skb); in netlbl_unlabel_list()