netlink/nl
Tobias Klauser bfba8e4149 Correct value of SizeofXfrmUsersaFlush
struct xfrm_usersa_flush contains a single u8, thus sizeof(struct
xfrm_usersa_flush) == 1 as can be verified by running the following
code through go tool cgo -godefs:

    package xfrm_test

    // #include <linux/xfrm.h>
    import "C"

    const SizeofXfrmUsersaFlush = C.sizeof_struct_xfrm_usersa_flush

which results in

    // Code generated by cmd/cgo -godefs; DO NOT EDIT.
    // cgo -godefs foo.go

    package xfrm_test

    const SizeofXfrmUsersaFlush = 0x1

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-02-10 14:25:39 -08:00
..
addr_linux.go Use IfaCacheinfo and IFA_* consts from golang.org/x/sys/unix 2020-01-27 15:51:47 -08:00
addr_linux_test.go Use IfaCacheinfo and IFA_* consts from golang.org/x/sys/unix 2020-01-27 15:51:47 -08:00
bridge_linux.go fix: BRIDGE_FLAGS_* constants off-by-one 2018-09-10 11:41:28 -07:00
bridge_linux_test.go Add bridge vlan support 2017-06-13 11:04:51 -07:00
conntrack_linux.go Add Timestamp, Timeout to conntrack 2019-08-12 12:01:13 -07:00
devlink_linux.go Add command to set devlink device switchdev mode 2019-05-01 11:37:24 -07:00
genetlink_linux.go Add support for GPRS Tunnelling Protocol(GTP) 2017-05-06 23:07:19 -07:00
link_linux.go Save XDP attach mode into LinkXdp. 2020-01-27 15:47:19 -08:00
link_linux_test.go add SetVfHardwareAddr and SetVfVlan to link 2016-02-15 14:31:32 -08:00
mpls_linux.go support MPLS 2017-02-20 12:07:19 -08:00
nl_linux.go check payload of the NLMSG_DONE nlmsg 2020-02-09 10:25:19 -08:00
nl_linux_test.go netlink: enforce similar pid checks as in iproute2 2019-07-18 17:26:53 -07:00
nl_unspecified.go Fix compilation errors for non linux platforms. 2017-02-20 12:00:54 -08:00
rdma_link_linux.go Add an API to change net namespace of RDMA device 2019-06-13 22:19:36 -07:00
route_linux.go Add network namespace ID management. 2018-07-19 10:40:23 -07:00
route_linux_test.go replace syscall with golang.org/x/sys/unix 2017-10-26 09:45:08 -07:00
seg6_linux.go Make go vet happier 2018-11-08 14:21:39 -08:00
seg6local_linux.go Support LWTUNNEL_ENCAP_SEG6_LOCAL (including tests) 2018-05-08 09:50:31 -07:00
syscall.go rule: add support for dport/sport 2020-02-10 06:52:06 -08:00
tc_linux.go filter, action: Add support for skbedit 2019-12-17 09:15:28 -08:00
tc_linux_test.go Add TestTcHtbCoptDeserializeSerialize 2015-09-11 17:32:54 -07:00
xfrm_linux.go Add support for output-mark 2019-09-16 08:26:04 -07:00
xfrm_linux_test.go Move all low level calls into nl subpackage 2014-09-18 19:04:48 -07:00
xfrm_monitor_linux.go Add XfrmMonitor 2017-02-02 12:58:44 -08:00
xfrm_monitor_linux_test.go Add XfrmMonitor 2017-02-02 12:58:44 -08:00
xfrm_policy_linux.go gofmt: style violations have crept up 2014-10-28 17:22:52 -07:00
xfrm_policy_linux_test.go Move all low level calls into nl subpackage 2014-09-18 19:04:48 -07:00
xfrm_state_linux.go Correct value of SizeofXfrmUsersaFlush 2020-02-10 14:25:39 -08:00
xfrm_state_linux_test.go Add XfrmAllocSpi 2017-02-02 13:02:12 -08:00