Home
last modified time | relevance | path

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

/Linux-v5.4/net/key/
Daf_key.c276 struct sadb_msg *hdr; in pfkey_do_dump()
297 hdr = (struct sadb_msg *) pfk->dump.skb->data; in pfkey_do_dump()
312 static inline void pfkey_hdr_dup(struct sadb_msg *new, in pfkey_hdr_dup()
313 const struct sadb_msg *orig) in pfkey_hdr_dup()
318 static int pfkey_error(const struct sadb_msg *orig, int err, struct sock *sk) in pfkey_error()
320 struct sk_buff *skb = alloc_skb(sizeof(struct sadb_msg) + 16, GFP_KERNEL); in pfkey_error()
321 struct sadb_msg *hdr; in pfkey_error()
338 hdr = skb_put(skb, sizeof(struct sadb_msg)); in pfkey_error()
341 hdr->sadb_msg_len = (sizeof(struct sadb_msg) / in pfkey_error()
511 static int parse_exthdrs(struct sk_buff *skb, const struct sadb_msg *hdr, void **ext_hdrs) in parse_exthdrs()
[all …]
/Linux-v5.4/include/uapi/linux/
Dpfkeyv2.h15 struct sadb_msg { struct