xfrm_state 113 include/linux/security.h struct xfrm_state; xfrm_state 1701 include/linux/security.h int (*xfrm_state_alloc) (struct xfrm_state *x, xfrm_state 1703 include/linux/security.h int (*xfrm_state_alloc_acquire) (struct xfrm_state *x, xfrm_state 1706 include/linux/security.h void (*xfrm_state_free_security) (struct xfrm_state *x); xfrm_state 1707 include/linux/security.h int (*xfrm_state_delete_security) (struct xfrm_state *x); xfrm_state 1709 include/linux/security.h int (*xfrm_state_pol_flow_match) (struct xfrm_state *x, xfrm_state 2887 include/linux/security.h int security_xfrm_state_alloc(struct xfrm_state *x, struct xfrm_user_sec_ctx *sec_ctx); xfrm_state 2888 include/linux/security.h int security_xfrm_state_alloc_acquire(struct xfrm_state *x, xfrm_state 2890 include/linux/security.h int security_xfrm_state_delete(struct xfrm_state *x); xfrm_state 2891 include/linux/security.h void security_xfrm_state_free(struct xfrm_state *x); xfrm_state 2893 include/linux/security.h int security_xfrm_state_pol_flow_match(struct xfrm_state *x, xfrm_state 2922 include/linux/security.h static inline int security_xfrm_state_alloc(struct xfrm_state *x, xfrm_state 2928 include/linux/security.h static inline int security_xfrm_state_alloc_acquire(struct xfrm_state *x, xfrm_state 2934 include/linux/security.h static inline void security_xfrm_state_free(struct xfrm_state *x) xfrm_state 2938 include/linux/security.h static inline int security_xfrm_state_delete(struct xfrm_state *x) xfrm_state 2948 include/linux/security.h static inline int security_xfrm_state_pol_flow_match(struct xfrm_state *x, xfrm_state 43 include/net/dst.h struct xfrm_state *xfrm; xfrm_state 505 include/net/dst.h static inline struct xfrm_state *dst_xfrm(const struct dst_entry *dst) xfrm_state 520 include/net/dst.h static inline struct xfrm_state *dst_xfrm(const struct dst_entry *dst) xfrm_state 17 include/net/ipcomp.h struct xfrm_state; xfrm_state 19 include/net/ipcomp.h int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 20 include/net/ipcomp.h int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 21 include/net/ipcomp.h void ipcomp_destroy(struct xfrm_state *x); xfrm_state 22 include/net/ipcomp.h int ipcomp_init_state(struct xfrm_state *x); xfrm_state 181 include/net/xfrm.h struct xfrm_state *tunnel; xfrm_state 236 include/net/xfrm.h static inline struct net *xs_net(struct xfrm_state *x) xfrm_state 271 include/net/xfrm.h void (*advance)(struct xfrm_state *x, __be32 net_seq); xfrm_state 272 include/net/xfrm.h int (*check)(struct xfrm_state *x, xfrm_state 275 include/net/xfrm.h int (*recheck)(struct xfrm_state *x, xfrm_state 278 include/net/xfrm.h void (*notify)(struct xfrm_state *x, int event); xfrm_state 279 include/net/xfrm.h int (*overflow)(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 312 include/net/xfrm.h void km_state_notify(struct xfrm_state *x, const struct km_event *c); xfrm_state 315 include/net/xfrm.h int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, xfrm_state 317 include/net/xfrm.h void km_state_expired(struct xfrm_state *x, int hard, u32 portid); xfrm_state 318 include/net/xfrm.h int __xfrm_state_delete(struct xfrm_state *x); xfrm_state 327 include/net/xfrm.h int (*init_flags)(struct xfrm_state *x); xfrm_state 330 include/net/xfrm.h void (*init_temprop)(struct xfrm_state *x, xfrm_state 335 include/net/xfrm.h int (*state_sort)(struct xfrm_state **dst, struct xfrm_state **src, int n); xfrm_state 338 include/net/xfrm.h int (*extract_input)(struct xfrm_state *x, xfrm_state 340 include/net/xfrm.h int (*extract_output)(struct xfrm_state *x, xfrm_state 362 include/net/xfrm.h void xfrm_state_delete_tunnel(struct xfrm_state *x); xfrm_state 374 include/net/xfrm.h int (*init_state)(struct xfrm_state *x); xfrm_state 375 include/net/xfrm.h void (*destructor)(struct xfrm_state *); xfrm_state 376 include/net/xfrm.h int (*input)(struct xfrm_state *, struct sk_buff *skb); xfrm_state 377 include/net/xfrm.h int (*output)(struct xfrm_state *, struct sk_buff *pskb); xfrm_state 378 include/net/xfrm.h int (*reject)(struct xfrm_state *, struct sk_buff *, xfrm_state 380 include/net/xfrm.h int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **); xfrm_state 382 include/net/xfrm.h u32 (*get_mtu)(struct xfrm_state *, int size); xfrm_state 400 include/net/xfrm.h int (*input2)(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 410 include/net/xfrm.h int (*input)(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 423 include/net/xfrm.h int (*output2)(struct xfrm_state *x,struct sk_buff *skb); xfrm_state 434 include/net/xfrm.h int (*output)(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 462 include/net/xfrm.h static inline struct xfrm_mode *xfrm_ip2inner_mode(struct xfrm_state *x, int ipproto) xfrm_state 595 include/net/xfrm.h int (*notify)(struct xfrm_state *x, const struct km_event *c); xfrm_state 596 include/net/xfrm.h int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp); xfrm_state 598 include/net/xfrm.h int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport); xfrm_state 725 include/net/xfrm.h void xfrm_audit_state_add(struct xfrm_state *x, int result, bool task_valid); xfrm_state 726 include/net/xfrm.h void xfrm_audit_state_delete(struct xfrm_state *x, int result, bool task_valid); xfrm_state 727 include/net/xfrm.h void xfrm_audit_state_replay_overflow(struct xfrm_state *x, xfrm_state 729 include/net/xfrm.h void xfrm_audit_state_replay(struct xfrm_state *x, struct sk_buff *skb, xfrm_state 734 include/net/xfrm.h void xfrm_audit_state_icvfail(struct xfrm_state *x, struct sk_buff *skb, xfrm_state 748 include/net/xfrm.h static inline void xfrm_audit_state_add(struct xfrm_state *x, int result, xfrm_state 753 include/net/xfrm.h static inline void xfrm_audit_state_delete(struct xfrm_state *x, int result, xfrm_state 758 include/net/xfrm.h static inline void xfrm_audit_state_replay_overflow(struct xfrm_state *x, xfrm_state 763 include/net/xfrm.h static inline void xfrm_audit_state_replay(struct xfrm_state *x, xfrm_state 778 include/net/xfrm.h static inline void xfrm_audit_state_icvfail(struct xfrm_state *x, xfrm_state 805 include/net/xfrm.h void __xfrm_state_destroy(struct xfrm_state *); xfrm_state 807 include/net/xfrm.h static inline void __xfrm_state_put(struct xfrm_state *x) xfrm_state 812 include/net/xfrm.h static inline void xfrm_state_put(struct xfrm_state *x) xfrm_state 818 include/net/xfrm.h static inline void xfrm_state_hold(struct xfrm_state *x) xfrm_state 985 include/net/xfrm.h struct xfrm_state *xvec[XFRM_MAX_DEPTH]; xfrm_state 1038 include/net/xfrm.h __xfrm4_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x) xfrm_state 1045 include/net/xfrm.h __xfrm6_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x) xfrm_state 1052 include/net/xfrm.h xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) xfrm_state 1252 include/net/xfrm.h __xfrm4_state_addr_check(const struct xfrm_state *x, xfrm_state 1262 include/net/xfrm.h __xfrm6_state_addr_check(const struct xfrm_state *x, xfrm_state 1274 include/net/xfrm.h xfrm_state_addr_check(const struct xfrm_state *x, xfrm_state 1288 include/net/xfrm.h xfrm_state_addr_flow_check(const struct xfrm_state *x, const struct flowi *fl, xfrm_state 1304 include/net/xfrm.h static inline int xfrm_state_kern(const struct xfrm_state *x) xfrm_state 1432 include/net/xfrm.h int (*func)(struct xfrm_state *, int, void*), void *); xfrm_state 1434 include/net/xfrm.h struct xfrm_state *xfrm_state_alloc(struct net *net); xfrm_state 1435 include/net/xfrm.h struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr, xfrm_state 1441 include/net/xfrm.h struct xfrm_state *xfrm_stateonly_find(struct net *net, u32 mark, xfrm_state 1446 include/net/xfrm.h struct xfrm_state *xfrm_state_lookup_byspi(struct net *net, __be32 spi, xfrm_state 1448 include/net/xfrm.h int xfrm_state_check_expire(struct xfrm_state *x); xfrm_state 1449 include/net/xfrm.h void xfrm_state_insert(struct xfrm_state *x); xfrm_state 1450 include/net/xfrm.h int xfrm_state_add(struct xfrm_state *x); xfrm_state 1451 include/net/xfrm.h int xfrm_state_update(struct xfrm_state *x); xfrm_state 1452 include/net/xfrm.h struct xfrm_state *xfrm_state_lookup(struct net *net, u32 mark, xfrm_state 1455 include/net/xfrm.h struct xfrm_state *xfrm_state_lookup_byaddr(struct net *net, u32 mark, xfrm_state 1463 include/net/xfrm.h int xfrm_state_sort(struct xfrm_state **dst, struct xfrm_state **src, int n, xfrm_state 1472 include/net/xfrm.h static inline int xfrm_state_sort(struct xfrm_state **dst, struct xfrm_state **src, xfrm_state 1496 include/net/xfrm.h struct xfrm_state *xfrm_find_acq_byseq(struct net *net, u32 mark, u32 seq); xfrm_state 1497 include/net/xfrm.h int xfrm_state_delete(struct xfrm_state *x); xfrm_state 1501 include/net/xfrm.h u32 xfrm_replay_seqhi(struct xfrm_state *x, __be32 net_seq); xfrm_state 1502 include/net/xfrm.h int xfrm_init_replay(struct xfrm_state *x); xfrm_state 1503 include/net/xfrm.h int xfrm_state_mtu(struct xfrm_state *x, int mtu); xfrm_state 1504 include/net/xfrm.h int __xfrm_init_state(struct xfrm_state *x, bool init_replay); xfrm_state 1505 include/net/xfrm.h int xfrm_init_state(struct xfrm_state *x); xfrm_state 1506 include/net/xfrm.h int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 1511 include/net/xfrm.h int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 1514 include/net/xfrm.h int xfrm4_extract_input(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 1528 include/net/xfrm.h int xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 1529 include/net/xfrm.h int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 1539 include/net/xfrm.h int xfrm6_extract_input(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 1553 include/net/xfrm.h int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 1554 include/net/xfrm.h int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb); xfrm_state 1557 include/net/xfrm.h int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb, xfrm_state 1597 include/net/xfrm.h int xfrm_alloc_spi(struct xfrm_state *x, u32 minspi, u32 maxspi); xfrm_state 1598 include/net/xfrm.h struct xfrm_state *xfrm_find_acq(struct net *net, const struct xfrm_mark *mark, xfrm_state 1609 include/net/xfrm.h struct xfrm_state *xfrm_migrate_state_find(struct xfrm_migrate *m, struct net *net); xfrm_state 1610 include/net/xfrm.h struct xfrm_state *xfrm_state_migrate(struct xfrm_state *x, xfrm_state 1617 include/net/xfrm.h int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport); xfrm_state 1714 include/net/xfrm.h static inline int xfrm_replay_clone(struct xfrm_state *x, xfrm_state 1715 include/net/xfrm.h struct xfrm_state *orig) xfrm_state 1752 include/net/xfrm.h static inline void xfrm_states_put(struct xfrm_state **states, int n) xfrm_state 1759 include/net/xfrm.h static inline void xfrm_states_delete(struct xfrm_state **states, int n) xfrm_state 1768 include/net/xfrm.h static inline struct xfrm_state *xfrm_input_state(struct sk_buff *skb) xfrm_state 1793 include/net/xfrm.h static inline int xfrm_tunnel_check(struct sk_buff *skb, struct xfrm_state *x,