Searched refs:sadb_x_sec_ctx (Results 1 – 2 of 2) sorted by relevance
368 [SADB_X_EXT_SEC_CTX] = (u8) sizeof(struct sadb_x_sec_ctx),415 static inline int pfkey_sec_ctx_len(const struct sadb_x_sec_ctx *sec_ctx) in pfkey_sec_ctx_len()417 return DIV_ROUND_UP(sizeof(struct sadb_x_sec_ctx) + in pfkey_sec_ctx_len()424 const struct sadb_x_sec_ctx *sec_ctx = p; in verify_sec_ctx_len()438 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()734 struct sadb_x_sec_ctx *sec_ctx; in __pfkey_xfrm_state2msg()761 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 …]
220 struct sadb_x_sec_ctx { struct