IP protocol.
More...
#include <stdint.h>
#include <ipxe/in.h>
#include <ipxe/list.h>
#include <ipxe/retry.h>
#include <ipxe/netdevice.h>
Go to the source code of this file.
IP protocol.
Definition in file ip.h.
◆ IP_VER
Definition at line 22 of file ip.h.
◆ IP_MASK_VER
#define IP_MASK_VER 0xf0U |
Definition at line 23 of file ip.h.
◆ IP_MASK_HLEN
#define IP_MASK_HLEN 0x0fU |
Definition at line 24 of file ip.h.
◆ IP_MASK_OFFSET
#define IP_MASK_OFFSET 0x1fffU |
Definition at line 25 of file ip.h.
◆ IP_MASK_DONOTFRAG
#define IP_MASK_DONOTFRAG 0x4000U |
Definition at line 26 of file ip.h.
◆ IP_MASK_MOREFRAGS
#define IP_MASK_MOREFRAGS 0x2000U |
Definition at line 27 of file ip.h.
◆ IP_PSHLEN
Definition at line 28 of file ip.h.
◆ IP_TOS
Definition at line 31 of file ip.h.
◆ IP_TTL
Definition at line 32 of file ip.h.
◆ FILE_LICENCE()
FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL |
| ) |
|
◆ ipv4_has_any_addr()
int ipv4_has_any_addr |
( |
struct net_device * |
netdev | ) |
|
Check if network device has any IPv4 address.
- Parameters
-
- Return values
-
has_any_addr | Network device has any IPv4 address |
Definition at line 443 of file ipv4.c.
struct list_head list
List of miniroutes.
struct net_device * netdev
Network device.
An IPv4 address/routing table entry.
#define list_for_each_entry(pos, head, member)
Iterate over entries in a list.
static struct net_device * netdev
struct list_head ipv4_miniroutes
List of IPv4 miniroutes.
References ipv4_miniroutes, ipv4_miniroute::list, list_for_each_entry, netdev, and ipv4_miniroute::netdev.
Referenced by dhcp_create_packet(), and ipv4_rx().
◆ parse_ipv4_setting()
int parse_ipv4_setting |
( |
const struct setting_type * |
type, |
|
|
const char * |
value, |
|
|
void * |
buf, |
|
|
size_t |
len |
|
) |
| |
◆ format_ipv4_setting()
◆ ipv4_miniroutes
◆ __net_protocol
AoE protocol.
AoE protocol.
AoE protocol.
FIP protocol.
Definition at line 56 of file aoe.c.