Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 25 of 84) sorted by relevance

1234

/net/xfrm/
Dxfrm_policy.c281 struct xfrm_policy *policy; in xfrm_policy_alloc() local
283 policy = kzalloc(sizeof(struct xfrm_policy), gfp); in xfrm_policy_alloc()
285 if (policy) { in xfrm_policy_alloc()
286 write_pnet(&policy->xp_net, net); in xfrm_policy_alloc()
287 INIT_LIST_HEAD(&policy->walk.all); in xfrm_policy_alloc()
288 INIT_HLIST_NODE(&policy->bydst); in xfrm_policy_alloc()
289 INIT_HLIST_NODE(&policy->byidx); in xfrm_policy_alloc()
290 rwlock_init(&policy->lock); in xfrm_policy_alloc()
291 atomic_set(&policy->refcnt, 1); in xfrm_policy_alloc()
292 skb_queue_head_init(&policy->polq.hold_queue); in xfrm_policy_alloc()
[all …]
DKconfig24 bool "Transformation sub policy support"
27 Support sub policy for developers. By using sub policy with main
/net/bridge/netfilter/
Debtable_nat.c20 .policy = EBT_ACCEPT,
24 .policy = EBT_ACCEPT,
28 .policy = EBT_ACCEPT,
Debtable_filter.c20 .policy = EBT_ACCEPT,
24 .policy = EBT_ACCEPT,
28 .policy = EBT_ACCEPT,
/net/netlabel/
Dnetlabel_mgmt.c711 .policy = netlbl_mgmt_genl_policy,
718 .policy = netlbl_mgmt_genl_policy,
725 .policy = netlbl_mgmt_genl_policy,
732 .policy = netlbl_mgmt_genl_policy,
739 .policy = netlbl_mgmt_genl_policy,
746 .policy = netlbl_mgmt_genl_policy,
753 .policy = netlbl_mgmt_genl_policy,
760 .policy = netlbl_mgmt_genl_policy,
Dnetlabel_unlabeled.c1329 .policy = netlbl_unlabel_genl_policy,
1336 .policy = netlbl_unlabel_genl_policy,
1343 .policy = netlbl_unlabel_genl_policy,
1350 .policy = netlbl_unlabel_genl_policy,
1357 .policy = netlbl_unlabel_genl_policy,
1364 .policy = netlbl_unlabel_genl_policy,
1371 .policy = netlbl_unlabel_genl_policy,
1378 .policy = netlbl_unlabel_genl_policy,
Dnetlabel_cipso_v4.c743 .policy = netlbl_cipsov4_genl_policy,
750 .policy = netlbl_cipsov4_genl_policy,
757 .policy = netlbl_cipsov4_genl_policy,
764 .policy = netlbl_cipsov4_genl_policy,
/net/netfilter/
Dnfnetlink_cthelper.c272 nfnl_cthelper_update_policy_one(const struct nf_conntrack_expect_policy *policy, in nfnl_cthelper_update_policy_one() argument
289 if (nla_strcmp(tb[NFCTH_POLICY_NAME], policy->name)) in nfnl_cthelper_update_policy_one()
304 struct nf_conntrack_expect_policy *policy; in nfnl_cthelper_update_policy_all() local
323 policy = (struct nf_conntrack_expect_policy *) in nfnl_cthelper_update_policy_all()
325 policy->max_expected = new_policy->max_expected; in nfnl_cthelper_update_policy_all()
326 policy->timeout = new_policy->timeout; in nfnl_cthelper_update_policy_all()
719 .policy = nfnl_cthelper_policy },
722 .policy = nfnl_cthelper_policy },
725 .policy = nfnl_cthelper_policy },
Dnf_tables_api.c961 htonl(basechain->policy))) in nf_tables_fill_chain_info()
1187 u8 policy = NF_ACCEPT; in nf_tables_newchain() local
1231 policy = ntohl(nla_get_be32(nla[NFTA_CHAIN_POLICY])); in nf_tables_newchain()
1232 switch (policy) { in nf_tables_newchain()
1275 nft_trans_chain_policy(trans) = policy; in nf_tables_newchain()
1364 basechain->policy = policy; in nf_tables_newchain()
1566 tb[NFTA_EXPR_DATA], type->policy); in nf_tables_expr_parse()
2129 enum nft_set_policies policy) in nft_select_set_ops() argument
2160 switch (policy) { in nft_select_set_ops()
2354 if (set->policy != NFT_SET_POL_PERFORMANCE) { in nf_tables_fill_set()
[all …]
Dnfnetlink_cttimeout.c519 .policy = cttimeout_nla_policy },
522 .policy = cttimeout_nla_policy },
525 .policy = cttimeout_nla_policy },
528 .policy = cttimeout_nla_policy },
531 .policy = cttimeout_nla_policy },
Dnfnetlink_acct.c376 .policy = nfnl_acct_policy },
379 .policy = nfnl_acct_policy },
382 .policy = nfnl_acct_policy },
385 .policy = nfnl_acct_policy },
Dnft_expr_template.c74 .policy = nft_template_policy,
/net/nfc/
Dnetlink.c1381 .policy = nfc_genl_policy,
1386 .policy = nfc_genl_policy,
1391 .policy = nfc_genl_policy,
1396 .policy = nfc_genl_policy,
1401 .policy = nfc_genl_policy,
1406 .policy = nfc_genl_policy,
1411 .policy = nfc_genl_policy,
1417 .policy = nfc_genl_policy,
1422 .policy = nfc_genl_policy,
1427 .policy = nfc_genl_policy,
[all …]
/net/l2tp/
Dl2tp_netlink.c808 .policy = l2tp_nl_policy,
814 .policy = l2tp_nl_policy,
820 .policy = l2tp_nl_policy,
826 .policy = l2tp_nl_policy,
833 .policy = l2tp_nl_policy,
839 .policy = l2tp_nl_policy,
845 .policy = l2tp_nl_policy,
851 .policy = l2tp_nl_policy,
858 .policy = l2tp_nl_policy,
/net/wimax/
Dstack.c423 .policy = wimax_gnl_policy,
429 .policy = wimax_gnl_policy,
435 .policy = wimax_gnl_policy,
441 .policy = wimax_gnl_policy,
/net/irda/
Dirnetlink.c138 .policy = irda_nl_policy,
144 .policy = irda_nl_policy,
/net/ieee802154/
Dieee802154.h27 .policy = ieee802154_policy, \
36 .policy = ieee802154_policy, \
/net/wireless/
Dnl80211.c9659 .policy = nl80211_policy,
9667 .policy = nl80211_policy,
9675 .policy = nl80211_policy,
9683 .policy = nl80211_policy,
9691 .policy = nl80211_policy,
9699 .policy = nl80211_policy,
9707 .policy = nl80211_policy,
9715 .policy = nl80211_policy,
9724 .policy = nl80211_policy,
9733 .policy = nl80211_policy,
[all …]
/net/netfilter/ipset/
Dip_set_core.c1765 .policy = ip_set_create_policy,
1770 .policy = ip_set_setname_policy,
1775 .policy = ip_set_setname_policy,
1780 .policy = ip_set_setname2_policy,
1785 .policy = ip_set_setname2_policy,
1790 .policy = ip_set_setname_policy,
1795 .policy = ip_set_setname_policy,
1800 .policy = ip_set_adt_policy,
1805 .policy = ip_set_adt_policy,
1810 .policy = ip_set_adt_policy,
[all …]
/net/openvswitch/
Ddatapath.c613 .policy = packet_policy,
1220 .policy = flow_policy,
1225 .policy = flow_policy,
1230 .policy = flow_policy,
1236 .policy = flow_policy,
1608 .policy = datapath_policy,
1613 .policy = datapath_policy,
1618 .policy = datapath_policy,
1624 .policy = datapath_policy,
1984 .policy = vport_policy,
[all …]
/net/hsr/
Dhsr_netlink.c108 .policy = hsr_policy,
452 .policy = hsr_genl_policy,
459 .policy = hsr_genl_policy,
/net/ipv4/netfilter/
Dnft_reject_ipv4.c56 .policy = nft_reject_policy,
Dnft_masq_ipv4.c50 .policy = nft_masq_policy,
/net/ipv6/netfilter/
Dnft_masq_ipv6.c50 .policy = nft_masq_policy,
Dnft_reject_ipv6.c58 .policy = nft_reject_policy,

1234