Home
last modified time | relevance | path

Searched refs:sadb_x_sec_ctx (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/net/key/
Daf_key.c366 [SADB_X_EXT_SEC_CTX] = (u8) sizeof(struct sadb_x_sec_ctx),
413 static inline int pfkey_sec_ctx_len(const struct sadb_x_sec_ctx *sec_ctx) in pfkey_sec_ctx_len()
415 return DIV_ROUND_UP(sizeof(struct sadb_x_sec_ctx) + in pfkey_sec_ctx_len()
422 const struct sadb_x_sec_ctx *sec_ctx = p; in verify_sec_ctx_len()
436 static inline struct xfrm_user_sec_ctx *pfkey_sadb2xfrm_user_sec_ctx(const struct sadb_x_sec_ctx *s… in pfkey_sadb2xfrm_user_sec_ctx()
731 struct sadb_x_sec_ctx *sec_ctx; in __pfkey_xfrm_state2msg()
758 size += sizeof(struct sadb_x_sec_ctx) + ctx_size; in __pfkey_xfrm_state2msg()
998 sec_ctx = (struct sadb_x_sec_ctx *) skb_put(skb, in __pfkey_xfrm_state2msg()
999 sizeof(struct sadb_x_sec_ctx) + ctx_size); in __pfkey_xfrm_state2msg()
1001 (sizeof(struct sadb_x_sec_ctx) + ctx_size) / sizeof(uint64_t); in __pfkey_xfrm_state2msg()
[all …]
/linux-4.4.14/include/uapi/linux/
Dpfkeyv2.h220 struct sadb_x_sec_ctx { struct