Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
e8228607
Commit
e8228607
authored
Feb 23, 2013
by
Mikio Hara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: add netlink constants for linux
R=golang-dev, r CC=golang-dev
https://golang.org/cl/7403049
parent
66ba4a85
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
364 additions
and
300 deletions
+364
-300
src/pkg/syscall/types_linux.go
src/pkg/syscall/types_linux.go
+91
-75
src/pkg/syscall/ztypes_linux_386.go
src/pkg/syscall/ztypes_linux_386.go
+91
-75
src/pkg/syscall/ztypes_linux_amd64.go
src/pkg/syscall/ztypes_linux_amd64.go
+91
-75
src/pkg/syscall/ztypes_linux_arm.go
src/pkg/syscall/ztypes_linux_arm.go
+91
-75
No files found.
src/pkg/syscall/types_linux.go
View file @
e8228607
...
@@ -285,6 +285,22 @@ const (
...
@@ -285,6 +285,22 @@ const (
RTN_THROW
=
C
.
RTN_THROW
RTN_THROW
=
C
.
RTN_THROW
RTN_NAT
=
C
.
RTN_NAT
RTN_NAT
=
C
.
RTN_NAT
RTN_XRESOLVE
=
C
.
RTN_XRESOLVE
RTN_XRESOLVE
=
C
.
RTN_XRESOLVE
RTNLGRP_NONE
=
C
.
RTNLGRP_NONE
RTNLGRP_LINK
=
C
.
RTNLGRP_LINK
RTNLGRP_NOTIFY
=
C
.
RTNLGRP_NOTIFY
RTNLGRP_NEIGH
=
C
.
RTNLGRP_NEIGH
RTNLGRP_TC
=
C
.
RTNLGRP_TC
RTNLGRP_IPV4_IFADDR
=
C
.
RTNLGRP_IPV4_IFADDR
RTNLGRP_IPV4_MROUTE
=
C
.
RTNLGRP_IPV4_MROUTE
RTNLGRP_IPV4_ROUTE
=
C
.
RTNLGRP_IPV4_ROUTE
RTNLGRP_IPV4_RULE
=
C
.
RTNLGRP_IPV4_RULE
RTNLGRP_IPV6_IFADDR
=
C
.
RTNLGRP_IPV6_IFADDR
RTNLGRP_IPV6_MROUTE
=
C
.
RTNLGRP_IPV6_MROUTE
RTNLGRP_IPV6_ROUTE
=
C
.
RTNLGRP_IPV6_ROUTE
RTNLGRP_IPV6_IFINFO
=
C
.
RTNLGRP_IPV6_IFINFO
RTNLGRP_IPV6_PREFIX
=
C
.
RTNLGRP_IPV6_PREFIX
RTNLGRP_IPV6_RULE
=
C
.
RTNLGRP_IPV6_RULE
RTNLGRP_ND_USEROPT
=
C
.
RTNLGRP_ND_USEROPT
SizeofNlMsghdr
=
C
.
sizeof_struct_nlmsghdr
SizeofNlMsghdr
=
C
.
sizeof_struct_nlmsghdr
SizeofNlMsgerr
=
C
.
sizeof_struct_nlmsgerr
SizeofNlMsgerr
=
C
.
sizeof_struct_nlmsgerr
SizeofRtGenmsg
=
C
.
sizeof_struct_rtgenmsg
SizeofRtGenmsg
=
C
.
sizeof_struct_rtgenmsg
...
...
src/pkg/syscall/ztypes_linux_386.go
View file @
e8228607
...
@@ -371,6 +371,22 @@ const (
...
@@ -371,6 +371,22 @@ const (
RTN_THROW
=
0x9
RTN_THROW
=
0x9
RTN_NAT
=
0xa
RTN_NAT
=
0xa
RTN_XRESOLVE
=
0xb
RTN_XRESOLVE
=
0xb
RTNLGRP_NONE
=
0x0
RTNLGRP_LINK
=
0x1
RTNLGRP_NOTIFY
=
0x2
RTNLGRP_NEIGH
=
0x3
RTNLGRP_TC
=
0x4
RTNLGRP_IPV4_IFADDR
=
0x5
RTNLGRP_IPV4_MROUTE
=
0x6
RTNLGRP_IPV4_ROUTE
=
0x7
RTNLGRP_IPV4_RULE
=
0x8
RTNLGRP_IPV6_IFADDR
=
0x9
RTNLGRP_IPV6_MROUTE
=
0xa
RTNLGRP_IPV6_ROUTE
=
0xb
RTNLGRP_IPV6_IFINFO
=
0xc
RTNLGRP_IPV6_PREFIX
=
0x12
RTNLGRP_IPV6_RULE
=
0x13
RTNLGRP_ND_USEROPT
=
0x14
SizeofNlMsghdr
=
0x10
SizeofNlMsghdr
=
0x10
SizeofNlMsgerr
=
0x14
SizeofNlMsgerr
=
0x14
SizeofRtGenmsg
=
0x1
SizeofRtGenmsg
=
0x1
...
...
src/pkg/syscall/ztypes_linux_amd64.go
View file @
e8228607
...
@@ -373,6 +373,22 @@ const (
...
@@ -373,6 +373,22 @@ const (
RTN_THROW
=
0x9
RTN_THROW
=
0x9
RTN_NAT
=
0xa
RTN_NAT
=
0xa
RTN_XRESOLVE
=
0xb
RTN_XRESOLVE
=
0xb
RTNLGRP_NONE
=
0x0
RTNLGRP_LINK
=
0x1
RTNLGRP_NOTIFY
=
0x2
RTNLGRP_NEIGH
=
0x3
RTNLGRP_TC
=
0x4
RTNLGRP_IPV4_IFADDR
=
0x5
RTNLGRP_IPV4_MROUTE
=
0x6
RTNLGRP_IPV4_ROUTE
=
0x7
RTNLGRP_IPV4_RULE
=
0x8
RTNLGRP_IPV6_IFADDR
=
0x9
RTNLGRP_IPV6_MROUTE
=
0xa
RTNLGRP_IPV6_ROUTE
=
0xb
RTNLGRP_IPV6_IFINFO
=
0xc
RTNLGRP_IPV6_PREFIX
=
0x12
RTNLGRP_IPV6_RULE
=
0x13
RTNLGRP_ND_USEROPT
=
0x14
SizeofNlMsghdr
=
0x10
SizeofNlMsghdr
=
0x10
SizeofNlMsgerr
=
0x14
SizeofNlMsgerr
=
0x14
SizeofRtGenmsg
=
0x1
SizeofRtGenmsg
=
0x1
...
...
src/pkg/syscall/ztypes_linux_arm.go
View file @
e8228607
...
@@ -373,6 +373,22 @@ const (
...
@@ -373,6 +373,22 @@ const (
RTN_THROW
=
0x9
RTN_THROW
=
0x9
RTN_NAT
=
0xa
RTN_NAT
=
0xa
RTN_XRESOLVE
=
0xb
RTN_XRESOLVE
=
0xb
RTNLGRP_NONE
=
0x0
RTNLGRP_LINK
=
0x1
RTNLGRP_NOTIFY
=
0x2
RTNLGRP_NEIGH
=
0x3
RTNLGRP_TC
=
0x4
RTNLGRP_IPV4_IFADDR
=
0x5
RTNLGRP_IPV4_MROUTE
=
0x6
RTNLGRP_IPV4_ROUTE
=
0x7
RTNLGRP_IPV4_RULE
=
0x8
RTNLGRP_IPV6_IFADDR
=
0x9
RTNLGRP_IPV6_MROUTE
=
0xa
RTNLGRP_IPV6_ROUTE
=
0xb
RTNLGRP_IPV6_IFINFO
=
0xc
RTNLGRP_IPV6_PREFIX
=
0x12
RTNLGRP_IPV6_RULE
=
0x13
RTNLGRP_ND_USEROPT
=
0x14
SizeofNlMsghdr
=
0x10
SizeofNlMsghdr
=
0x10
SizeofNlMsgerr
=
0x14
SizeofNlMsgerr
=
0x14
SizeofRtGenmsg
=
0x1
SizeofRtGenmsg
=
0x1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment