t_socket = socket(AF_PACKET, int socket_type, int protocol);
DESCRIPTION
Packet sockets are used ... ayer 2) level. They allow the user to implement protocol
modules in user space on top of the physic... common format in a sockaddr_ll structure. protocol is the IEEE 802.3
protocol number in network byte order. See the <linux/if_ether.h>
i
IP(7)
NAME
ip - Linux IPv4 protocol implementation
SYNOPSIS
#include <sys/soc... 0);
raw_socket = socket(AF_INET, SOCK_RAW, protocol);
DESCRIPTION
Linux implements the Internet Protocol, version 4, described in RFC 791
and RFC 1... cket(2):
socket(AF_INET, socket_type, protocol);
Valid socket types are SOCK_STREAM to
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
raw_socket = socket(AF_INET, SOCK_RAW, int protocol);
DESCRIPTION
Raw sockets allow new IPv... ce.
All packets or errors matching the protocol number specified for the
raw socket are pa... proto-
cols, see the IANA list of assigned protocol numbers at and getprotoby-
name(3).
A protocol of IPPROTO_RAW implies enabled IP_HDRINCL and i
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o
dicates
which kind of transport protocol to use. The currently sup-
ported ... versnum,
unsigned int protocol);
A user interface to the portmap... m, version versnum, and speaks the transport protocol
associated with protocol. The value of protocol is most likely
IPPROTO_UDP o