summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls_netlink.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-11-30 11:19:14 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-11-05 18:19:52 +0100
commitbf098b4a11a42e123fbfef664027b2ba183a31c4 (patch)
treed66a03ee9f2ae14ade6779c1d16dfe441de573b6 /zebra/zebra_mpls_netlink.c
parent19cbc3157983ec0a1a15ec1be90a4a1a3de9969b (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