Home
last modified time | relevance | path

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

/net/netlabel/
Dnetlabel_cipso_v4.c469 struct sk_buff *ans_skb = NULL; in netlbl_cipsov4_list() local
484 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE * nlsze_mult, GFP_KERNEL); in netlbl_cipsov4_list()
485 if (ans_skb == NULL) { in netlbl_cipsov4_list()
489 data = genlmsg_put_reply(ans_skb, info, &netlbl_cipsov4_gnl_family, in netlbl_cipsov4_list()
505 ret_val = nla_put_u32(ans_skb, NLBL_CIPSOV4_A_MTYPE, doi_def->type); in netlbl_cipsov4_list()
509 nla_a = nla_nest_start(ans_skb, NLBL_CIPSOV4_A_TAGLST); in netlbl_cipsov4_list()
518 ret_val = nla_put_u8(ans_skb, in netlbl_cipsov4_list()
524 nla_nest_end(ans_skb, nla_a); in netlbl_cipsov4_list()
528 nla_a = nla_nest_start(ans_skb, NLBL_CIPSOV4_A_MLSLVLLST); in netlbl_cipsov4_list()
540 nla_b = nla_nest_start(ans_skb, NLBL_CIPSOV4_A_MLSLVL); in netlbl_cipsov4_list()
[all …]
Dnetlabel_mgmt.c564 struct sk_buff *ans_skb = NULL; in netlbl_mgmt_listdef() local
568 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in netlbl_mgmt_listdef()
569 if (ans_skb == NULL) in netlbl_mgmt_listdef()
571 data = genlmsg_put_reply(ans_skb, info, &netlbl_mgmt_gnl_family, in netlbl_mgmt_listdef()
582 ret_val = netlbl_mgmt_listentry(ans_skb, entry); in netlbl_mgmt_listdef()
587 genlmsg_end(ans_skb, data); in netlbl_mgmt_listdef()
588 return genlmsg_reply(ans_skb, info); in netlbl_mgmt_listdef()
593 kfree_skb(ans_skb); in netlbl_mgmt_listdef()
680 struct sk_buff *ans_skb = NULL; in netlbl_mgmt_version() local
683 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in netlbl_mgmt_version()
[all …]
Dnetlabel_unlabeled.c859 struct sk_buff *ans_skb; in netlbl_unlabel_list() local
862 ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in netlbl_unlabel_list()
863 if (ans_skb == NULL) in netlbl_unlabel_list()
865 data = genlmsg_put_reply(ans_skb, info, &netlbl_unlabel_gnl_family, in netlbl_unlabel_list()
872 ret_val = nla_put_u8(ans_skb, in netlbl_unlabel_list()
878 genlmsg_end(ans_skb, data); in netlbl_unlabel_list()
879 return genlmsg_reply(ans_skb, info); in netlbl_unlabel_list()
882 kfree_skb(ans_skb); in netlbl_unlabel_list()