Back to index

glibc  2.9
Classes | Defines
packet.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sockaddr_ll
struct  packet_mreq

Defines

#define PACKET_HOST   0 /* To us. */
#define PACKET_BROADCAST   1 /* To all. */
#define PACKET_MULTICAST   2 /* To group. */
#define PACKET_OTHERHOST   3 /* To someone else. */
#define PACKET_OUTGOING   4 /* Originated by us . */
#define PACKET_LOOPBACK   5
#define PACKET_FASTROUTE   6
#define PACKET_ADD_MEMBERSHIP   1
#define PACKET_DROP_MEMBERSHIP   2
#define PACKET_RECV_OUTPUT   3
#define PACKET_RX_RING   5
#define PACKET_STATISTICS   6
#define PACKET_MR_MULTICAST   0
#define PACKET_MR_PROMISC   1
#define PACKET_MR_ALLMULTI   2

Class Documentation

struct sockaddr_ll

Definition at line 23 of file packet.h.

Class Members
unsigned char sll_addr
unsigned short int sll_family
unsigned char sll_halen
unsigned short int sll_hatype
int sll_ifindex
unsigned char sll_pkttype
unsigned short int sll_protocol
struct packet_mreq

Definition at line 52 of file packet.h.

Class Members
unsigned char mr_address
unsigned short int mr_alen
int mr_ifindex
unsigned short int mr_type

Define Documentation

#define PACKET_ADD_MEMBERSHIP   1

Definition at line 46 of file packet.h.

#define PACKET_BROADCAST   1 /* To all. */

Definition at line 37 of file packet.h.

#define PACKET_DROP_MEMBERSHIP   2

Definition at line 47 of file packet.h.

#define PACKET_FASTROUTE   6

Definition at line 42 of file packet.h.

#define PACKET_HOST   0 /* To us. */

Definition at line 36 of file packet.h.

#define PACKET_LOOPBACK   5

Definition at line 41 of file packet.h.

#define PACKET_MR_ALLMULTI   2

Definition at line 62 of file packet.h.

#define PACKET_MR_MULTICAST   0

Definition at line 60 of file packet.h.

#define PACKET_MR_PROMISC   1

Definition at line 61 of file packet.h.

#define PACKET_MULTICAST   2 /* To group. */

Definition at line 38 of file packet.h.

#define PACKET_OTHERHOST   3 /* To someone else. */

Definition at line 39 of file packet.h.

#define PACKET_OUTGOING   4 /* Originated by us . */

Definition at line 40 of file packet.h.

#define PACKET_RECV_OUTPUT   3

Definition at line 48 of file packet.h.

#define PACKET_RX_RING   5

Definition at line 49 of file packet.h.

#define PACKET_STATISTICS   6

Definition at line 50 of file packet.h.