Home
last modified time | relevance | path

Searched refs:xfrm_policy (Results 1 – 18 of 18) sorted by relevance

/linux-6.3-rc2/net/xfrm/
A Dxfrm_policy.c170 static struct xfrm_policy *__xfrm_policy_unlink(struct xfrm_policy *pol,
180 static struct xfrm_policy *
413 struct xfrm_policy *policy = container_of(head, struct xfrm_policy, rcu); in xfrm_policy_destroy_rcu()
527 struct xfrm_policy *pol; in xfrm_dst_hash_transfer()
562 struct xfrm_policy *pol; in xfrm_idx_hash_transfer()
967 struct xfrm_policy *tmp; in xfrm_policy_inexact_node_merge()
1379 struct xfrm_policy *p; in xfrm_gen_index()
1645 struct xfrm_policy *
1715 struct xfrm_policy *
2283 static struct xfrm_policy *__xfrm_policy_unlink(struct xfrm_policy *pol, in __xfrm_policy_unlink()
[all …]
A DMakefile14 obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \
A Dxfrm_user.c1865 static struct xfrm_policy *xfrm_policy_construct(struct net *net, in xfrm_policy_construct()
1871 struct xfrm_policy *xp = xfrm_policy_alloc(net, GFP_KERNEL); in xfrm_policy_construct()
1918 struct xfrm_policy *xp; in xfrm_add_policy()
2114 struct xfrm_policy *xp, in xfrm_policy_netlink()
2233 struct xfrm_policy *xp; in xfrm_get_policy()
2548 struct xfrm_policy *xp; in xfrm_add_pol_expire()
2653 struct xfrm_policy *xp; in xfrm_add_acquire()
3356 struct xfrm_policy *xp) in xfrm_acquire_msgsize()
3366 struct xfrm_tmpl *xt, struct xfrm_policy *xp) in build_acquire()
3408 struct xfrm_policy *xp) in xfrm_send_acquire()
[all …]
A Dxfrm_state.c220 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol);
1094 static void xfrm_state_look_at(struct xfrm_policy *pol, struct xfrm_state *x, in xfrm_state_look_at()
1139 struct xfrm_policy *pol, int *err, in xfrm_state_find()
2368 void km_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) in km_policy_notify()
2407 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol) in km_query()
2458 void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 portid) in km_policy_expired()
2595 struct xfrm_policy *pol = NULL; in xfrm_user_policy()
A Dxfrm_device.c338 int xfrm_dev_policy_add(struct net *net, struct xfrm_policy *xp, in xfrm_dev_policy_add()
/linux-6.3-rc2/include/net/
A Dxfrm.h359 void km_policy_notify(struct xfrm_policy *xp, int dir,
365 struct xfrm_policy *pol);
514 struct xfrm_policy { struct
785 void xfrm_policy_destroy(struct xfrm_policy *policy);
787 static inline void xfrm_pol_put(struct xfrm_policy *policy) in xfrm_pol_put()
952 struct xfrm_policy *pols[XFRM_POLICY_TYPE_MAX];
1257 int xfrm_policy_delete(struct xfrm_policy *pol, int dir);
1261 struct xfrm_policy *pol; in xfrm_sk_free_policy()
1564 struct xfrm_policy *pol, int *err,
1728 int (*func)(struct xfrm_policy *, int, int, void*),
[all …]
A Dsock.h440 struct xfrm_policy __rcu *sk_policy[2];
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec.c48 static struct mlx5e_ipsec_pol_entry *to_ipsec_pol_entry(struct xfrm_policy *x) in to_ipsec_pol_entry()
502 static int mlx5e_xfrm_validate_policy(struct xfrm_policy *x, in mlx5e_xfrm_validate_policy()
545 struct xfrm_policy *x = pol_entry->x; in mlx5e_ipsec_build_accel_pol_attrs()
565 static int mlx5e_xfrm_add_policy(struct xfrm_policy *x, in mlx5e_xfrm_add_policy()
604 static void mlx5e_xfrm_free_policy(struct xfrm_policy *x) in mlx5e_xfrm_free_policy()
A Dipsec.h204 struct xfrm_policy *x;
/linux-6.3-rc2/security/selinux/include/
A Dxfrm.h30 struct xfrm_policy *xp,
/linux-6.3-rc2/net/key/
A Daf_key.c1909 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid()
1943 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) in parse_ipsecrequest()
1991 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests()
2013 static inline int pfkey_xfrm_policy2sec_ctx_size(const struct xfrm_policy *xp) in pfkey_xfrm_policy2sec_ctx_size()
2025 static int pfkey_xfrm_policy2msg_size(const struct xfrm_policy *xp) in pfkey_xfrm_policy2msg_size()
2249 struct xfrm_policy *xp; in pfkey_spdadd()
2363 struct xfrm_policy *xp; in pfkey_spddelete()
2649 struct xfrm_policy *xp; in pfkey_spdget()
2684 static int dump_sp(struct xfrm_policy *xp, int dir, int count, void *ptr) in dump_sp()
3262 static struct xfrm_policy *pfkey_compile_policy(struct sock *sk, int opt, in pfkey_compile_policy()
[all …]
/linux-6.3-rc2/Documentation/networking/
A Dxfrm_device.rst76 int (*xdo_dev_policy_add) (struct xfrm_policy *x, struct netlink_ext_ack *extack);
77 void (*xdo_dev_policy_delete) (struct xfrm_policy *x);
78 void (*xdo_dev_policy_free) (struct xfrm_policy *x);
/linux-6.3-rc2/tools/testing/selftests/net/
A DMakefile8 rtnetlink.sh xfrm_policy.sh test_blackhole_dev.sh
/linux-6.3-rc2/security/selinux/
A Dxfrm.c177 struct xfrm_policy *xp, in selinux_xfrm_state_pol_flow_match()
/linux-6.3-rc2/include/linux/
A Dsecurity.h182 struct xfrm_policy;
1749 struct xfrm_policy *xp,
1804 struct xfrm_policy *xp, in security_xfrm_state_pol_flow_match()
A Dlsm_hook_defs.h372 struct xfrm_policy *xp, const struct flowi_common *flic)
A Dnetdevice.h1047 int (*xdo_dev_policy_add) (struct xfrm_policy *x, struct netlink_ext_ack *extack);
1048 void (*xdo_dev_policy_delete) (struct xfrm_policy *x);
1049 void (*xdo_dev_policy_free) (struct xfrm_policy *x);
/linux-6.3-rc2/security/
A Dsecurity.c2583 struct xfrm_policy *xp, in security_xfrm_state_pol_flow_match()

Completed in 107 milliseconds