diff options
| author | Jakub Kicinski <[email protected]> | 2024-03-08 19:03:19 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-11 22:15:42 +0000 |
| commit | ba980f8dff548ec4558ca9c5f20ac6545920debb (patch) | |
| tree | a1e151afcf996eb9eed7d5f2e1e7fc84792d073d /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | tools: ynl: remove trailing semicolon (diff) | |
| download | kernel-ba980f8dff548ec4558ca9c5f20ac6545920debb.tar.gz kernel-ba980f8dff548ec4558ca9c5f20ac6545920debb.zip | |
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/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
