From f54d87b9eceee7f6069a4faf2628f19b8752ad06 Mon Sep 17 00:00:00 2001 From: Rahat Mahmood Date: Tue, 27 Apr 2021 16:17:03 -0700 Subject: Remove uses of the binary package from networking code. Co-Author: ayushranjan PiperOrigin-RevId: 370785009 --- pkg/abi/linux/netlink_route.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/abi/linux/netlink_route.go') diff --git a/pkg/abi/linux/netlink_route.go b/pkg/abi/linux/netlink_route.go index ceda0a8d3..581a11b24 100644 --- a/pkg/abi/linux/netlink_route.go +++ b/pkg/abi/linux/netlink_route.go @@ -85,6 +85,8 @@ const ( ) // InterfaceInfoMessage is struct ifinfomsg, from uapi/linux/rtnetlink.h. +// +// +marshal type InterfaceInfoMessage struct { Family uint8 _ uint8 @@ -164,6 +166,8 @@ const ( ) // InterfaceAddrMessage is struct ifaddrmsg, from uapi/linux/if_addr.h. +// +// +marshal type InterfaceAddrMessage struct { Family uint8 PrefixLen uint8 @@ -193,6 +197,8 @@ const ( ) // RouteMessage is struct rtmsg, from uapi/linux/rtnetlink.h. +// +// +marshal type RouteMessage struct { Family uint8 DstLen uint8 -- cgit v1.2.3