diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-11-30 11:19:14 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2023-11-05 18:19:52 +0100 |
| commit | bf098b4a11a42e123fbfef664027b2ba183a31c4 (patch) | |
| tree | d66a03ee9f2ae14ade6779c1d16dfe441de573b6 /zebra/zebra_mpls_netlink.c | |
| parent | 19cbc3157983ec0a1a15ec1be90a4a1a3de9969b (diff) | |
lib: add a transparent union for sockaddrs
As with "prefixptr"/"prefixconstptr", this allows function prototypes to
say "just give me any sockaddr" typing-wise, without having the compiler
complain that a "struct sockaddr_in" is not a "struct sockaddr".
(Split off from other changes that start using this.)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_mpls_netlink.c')
0 files changed, 0 insertions, 0 deletions
