File: socktab.h

package info (click to toggle)
audit 1%3A2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-backports, jessie-kfreebsd
  • size: 5,308 kB
  • ctags: 5,589
  • sloc: ansic: 47,383; sh: 11,886; python: 1,949; makefile: 824
file content (44 lines) | stat: -rw-r--r-- 1,516 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* socktab.h --
 * Copyright 2007,2011-13 Red Hat Inc., Durham, North Carolina.
 * All Rights Reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Authors:
 *      Steve Grubb <sgrubb@redhat.com>
 * Location: include/uapi/linux/net.h
 */

_S(SYS_SOCKET,		"socket"	)
_S(SYS_BIND,		"bind"		)
_S(SYS_CONNECT,		"connect"	)
_S(SYS_LISTEN,		"listen"	)
_S(SYS_ACCEPT,		"accept"	)
_S(SYS_GETSOCKNAME,	"getsockname"	)
_S(SYS_GETPEERNAME,	"getpeername"	)
_S(SYS_SOCKETPAIR,	"socketpair"	)
_S(SYS_SEND,		"send"		)
_S(SYS_RECV,		"recv"		)
_S(SYS_SENDTO,		"sendto"	)
_S(SYS_RECVFROM,	"recvfrom"	)
_S(SYS_SHUTDOWN,	"shutdown"	)
_S(SYS_SETSOCKOPT,	"setsockopt"	)
_S(SYS_GETSOCKOPT,	"getsockopt"	)
_S(SYS_SENDMSG,		"sendmsg"	)
_S(SYS_RECVMSG,		"recvmsg"	)
_S(SYS_ACCEPT4,		"accept4"	)
_S(19,			"recvmmsg"	)
_S(20,			"sendmmsg"	)