XINU
Data Structures | Macros | Variables
net.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  netpacket
 
struct  network
 

Macros

#define ETH_ARP   0x0806 /* Ethernet type for ARP */
 
#define ETH_IP   0x0800 /* Ethernet type for IP */
 
#define ETH_IPv6   0x86DD /* Ethernet type for IPv6 */
 
#define NETBOOTFILE   128 /* Size of the netboot filename */
 
#define NETPRIO   500 /* Network startup priority */
 
#define NETSTK   8192 /* Stack size for network setup */
 
#define PACKLEN   sizeof(struct netpacket)
 

Variables

bpid32 netbufpool
 
struct network NetData
 

Macro Definition Documentation

◆ ETH_ARP

#define ETH_ARP   0x0806 /* Ethernet type for ARP */

Definition at line 9 of file net.h.

Referenced by arp_in(), arp_resolve(), and netin().

◆ ETH_IP

#define ETH_IP   0x0800 /* Ethernet type for IP */

Definition at line 10 of file net.h.

Referenced by netin().

◆ ETH_IPv6

#define ETH_IPv6   0x86DD /* Ethernet type for IPv6 */

Definition at line 11 of file net.h.

Referenced by netin().

◆ NETBOOTFILE

#define NETBOOTFILE   128 /* Size of the netboot filename */

Definition at line 5 of file net.h.

◆ NETPRIO

#define NETPRIO   500 /* Network startup priority */

Definition at line 4 of file net.h.

Referenced by net_init().

◆ NETSTK

#define NETSTK   8192 /* Stack size for network setup */

Definition at line 3 of file net.h.

Referenced by net_init().

◆ PACKLEN

#define PACKLEN   sizeof(struct netpacket)

Definition at line 50 of file net.h.

Referenced by ethwrite(), net_init(), and netin().

Variable Documentation

◆ netbufpool

bpid32 netbufpool

Definition at line 7 of file net.c.

Referenced by icmp_mkpkt(), net_init(), netin(), udp_send(), and udp_sendto().

◆ NetData

struct network NetData