Home
last modified time | relevance | path

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

/linux-6.1.9/net/netlabel/
Dnetlabel_cipso_v4.c451 struct sk_buff *ans_skb = NULL; in netlbl_cipsov4_list() local
466 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE * nlsze_mult, GFP_KERNEL); in netlbl_cipsov4_list()
467 if (ans_skb == NULL) { in netlbl_cipsov4_list()
471 data = genlmsg_put_reply(ans_skb, info, &netlbl_cipsov4_gnl_family, in netlbl_cipsov4_list()
487 ret_val = nla_put_u32(ans_skb, NLBL_CIPSOV4_A_MTYPE, doi_def->type); in netlbl_cipsov4_list()
491 nla_a = nla_nest_start_noflag(ans_skb, NLBL_CIPSOV4_A_TAGLST); 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()
510 nla_a = nla_nest_start_noflag(ans_skb, in netlbl_cipsov4_list()
523 nla_b = nla_nest_start_noflag(ans_skb, in netlbl_cipsov4_list()
[all …]
Dnetlabel_mgmt.c599 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()
[all …]
Dnetlabel_calipso.c133 struct sk_buff *ans_skb = NULL; in netlbl_calipso_list() local
151 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in netlbl_calipso_list()
152 if (!ans_skb) { in netlbl_calipso_list()
156 data = genlmsg_put_reply(ans_skb, info, &netlbl_calipso_gnl_family, in netlbl_calipso_list()
163 ret_val = nla_put_u32(ans_skb, NLBL_CALIPSO_A_MTYPE, doi_def->type); in netlbl_calipso_list()
169 genlmsg_end(ans_skb, data); in netlbl_calipso_list()
170 return genlmsg_reply(ans_skb, info); in netlbl_calipso_list()
175 kfree_skb(ans_skb); in netlbl_calipso_list()
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()