RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Typedefs | Functions
in_pcb.h File Reference
#include <sys/queue.h>
#include <netinet/in.h>
#include <net/route.h>
Include dependency graph for in_pcb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  inpcb
 
struct  inpcbinfo
 

Macros

#define inp_ip_tos   inp_depend4.inp4_ip_tos
 
#define inp_options   inp_depend4.inp4_options
 
#define inp_moptions   inp_depend4.inp4_moptions
 
#define INP_PCBHASH(faddr, lport, fport, mask)   (((faddr) ^ ((faddr) >> 16) ^ (lport) ^ (fport)) & (mask))
 
#define INP_RECVOPTS   0x01 /* receive incoming IP options */
 
#define INP_RECVRETOPTS   0x02 /* receive IP options for reply */
 
#define INP_RECVDSTADDR   0x04 /* receive IP dst address */
 
#define INP_HDRINCL   0x08 /* user supplies entire IP header */
 
#define INP_HIGHPORT   0x10 /* user wants "high" port binding */
 
#define INP_LOWPORT   0x20 /* user wants "low" port binding */
 
#define INP_ANONPORT   0x40 /* port chosen for user */
 
#define INP_RECVIF   0x80 /* receive incoming interface */
 
#define INP_CONTROLOPTS
 
#define INPLOOKUP_WILDCARD   1
 
#define sotoinpcb(so)   ((struct inpcb *)(so)->so_pcb)
 

Typedefs

typedef u_int64_t inp_gen_t
 

Functions

 LIST_HEAD (inpcbhead, inpcb)
 

Macro Definition Documentation

◆ INP_CONTROLOPTS

#define INP_CONTROLOPTS
Value:
(INP_RECVOPTS|INP_RECVRETOPTS|INP_RECVDSTADDR|\
INP_RECVIF)