diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-03-08 11:03:19 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-11 15:15:42 -0700 |
commit | ba980f8dff548ec4558ca9c5f20ac6545920debb (patch) | |
tree | a1e151afcf996eb9eed7d5f2e1e7fc84792d073d /drivers/net/ethernet/intel/igc | |
parent | a0d942960d9b0ba352b2400e1a3b8fb02d911143 (diff) |
netlink: specs: support generating code for genl socket priv
The family struct is auto-generated for new families, support
use of the sock_priv_* mechanism added in commit a731132424ad
("genetlink: introduce per-sock family private storage").
For example if the family wants to use struct sk_buff as its
private struct (unrealistic but just for illustration), it would
add to its spec:
kernel-family:
headers: [ "linux/skbuff.h" ]
sock-priv: struct sk_buff
ynl-gen-c will declare the appropriate priv size and hook
in function prototypes to be implemented by the family.
Link: https://lore.kernel.org/r/20240308190319.2523704-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions