Searched refs:cb_arg (Results 1 – 9 of 9) sorted by relevance
/net/netlabel/ |
D | netlabel_calipso.c | 219 struct netlbl_calipso_doiwalk_arg *cb_arg = arg; in netlbl_calipso_listall_cb() local 222 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_calipso_listall_cb() 223 cb_arg->seq, &netlbl_calipso_gnl_family, in netlbl_calipso_listall_cb() 228 ret_val = nla_put_u32(cb_arg->skb, NLBL_CALIPSO_A_DOI, doi_def->doi); in netlbl_calipso_listall_cb() 231 ret_val = nla_put_u32(cb_arg->skb, in netlbl_calipso_listall_cb() 237 genlmsg_end(cb_arg->skb, data); in netlbl_calipso_listall_cb() 241 genlmsg_cancel(cb_arg->skb, data); in netlbl_calipso_listall_cb() 258 struct netlbl_calipso_doiwalk_arg cb_arg; in netlbl_calipso_listall() local 261 cb_arg.nl_cb = cb; in netlbl_calipso_listall() 262 cb_arg.skb = skb; in netlbl_calipso_listall() [all …]
|
D | netlabel_cipso_v4.c | 616 struct netlbl_cipsov4_doiwalk_arg *cb_arg = arg; in netlbl_cipsov4_listall_cb() local 619 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_cipsov4_listall_cb() 620 cb_arg->seq, &netlbl_cipsov4_gnl_family, in netlbl_cipsov4_listall_cb() 625 ret_val = nla_put_u32(cb_arg->skb, NLBL_CIPSOV4_A_DOI, doi_def->doi); in netlbl_cipsov4_listall_cb() 628 ret_val = nla_put_u32(cb_arg->skb, in netlbl_cipsov4_listall_cb() 634 genlmsg_end(cb_arg->skb, data); in netlbl_cipsov4_listall_cb() 638 genlmsg_cancel(cb_arg->skb, data); in netlbl_cipsov4_listall_cb() 655 struct netlbl_cipsov4_doiwalk_arg cb_arg; in netlbl_cipsov4_listall() local 658 cb_arg.nl_cb = cb; in netlbl_cipsov4_listall() 659 cb_arg.skb = skb; in netlbl_cipsov4_listall() [all …]
|
D | netlabel_unlabeled.c | 1070 struct netlbl_unlhsh_walk_arg *cb_arg = arg; in netlbl_unlabel_staticlist_gen() local 1077 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_unlabel_staticlist_gen() 1078 cb_arg->seq, &netlbl_unlabel_gnl_family, in netlbl_unlabel_staticlist_gen() 1089 ret_val = nla_put_string(cb_arg->skb, in netlbl_unlabel_staticlist_gen() 1100 ret_val = nla_put_in_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen() 1107 ret_val = nla_put_in_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen() 1115 ret_val = nla_put_in6_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen() 1121 ret_val = nla_put_in6_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen() 1133 ret_val = nla_put(cb_arg->skb, in netlbl_unlabel_staticlist_gen() 1141 cb_arg->seq++; in netlbl_unlabel_staticlist_gen() [all …]
|
D | netlabel_mgmt.c | 482 struct netlbl_domhsh_walk_arg *cb_arg = arg; in netlbl_mgmt_listall_cb() local 485 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_mgmt_listall_cb() 486 cb_arg->seq, &netlbl_mgmt_gnl_family, in netlbl_mgmt_listall_cb() 491 ret_val = netlbl_mgmt_listentry(cb_arg->skb, entry); in netlbl_mgmt_listall_cb() 495 cb_arg->seq++; in netlbl_mgmt_listall_cb() 496 genlmsg_end(cb_arg->skb, data); in netlbl_mgmt_listall_cb() 500 genlmsg_cancel(cb_arg->skb, data); in netlbl_mgmt_listall_cb() 518 struct netlbl_domhsh_walk_arg cb_arg; in netlbl_mgmt_listall() local 522 cb_arg.nl_cb = cb; in netlbl_mgmt_listall() 523 cb_arg.skb = skb; in netlbl_mgmt_listall() [all …]
|
D | netlabel_calipso.h | 116 void *cb_arg);
|
D | netlabel_domainhash.h | 104 void *cb_arg);
|
D | netlabel_domainhash.c | 942 void *cb_arg) in netlbl_domhsh_walk() argument 959 ret_val = callback(iter_entry, cb_arg); in netlbl_domhsh_walk()
|
/net/ipv6/ |
D | calipso.c | 530 void *cb_arg) in calipso_doi_walk() argument 541 ret_val = callback(iter_doi, cb_arg); in calipso_doi_walk()
|
/net/ipv4/ |
D | cipso_ipv4.c | 603 void *cb_arg) in cipso_v4_doi_walk() argument 614 ret_val = callback(iter_doi, cb_arg); in cipso_v4_doi_walk()
|