PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
Flags

Macros

#define NETIF_FLAG_UP   0x01U
 
#define NETIF_FLAG_BROADCAST   0x02U
 
#define NETIF_FLAG_LINK_UP   0x04U
 
#define NETIF_FLAG_ETHARP   0x08U
 
#define NETIF_FLAG_ETHERNET   0x10U
 
#define NETIF_FLAG_IGMP   0x20U
 
#define NETIF_FLAG_MLD6   0x40U
 

Detailed Description

Macro Definition Documentation

◆ NETIF_FLAG_UP

#define NETIF_FLAG_UP   0x01U

#include <common/include/tcpip.h>

Whether the network interface is 'up'. This is a software flag used to control whether this network interface is enabled and processes traffic. It must be set by the startup code before this netif can be used (also for dhcp/autoip).

Definition at line 1086 of file tcpip.h.

◆ NETIF_FLAG_BROADCAST

#define NETIF_FLAG_BROADCAST   0x02U

#include <common/include/tcpip.h>

If set, the netif has broadcast capability. Set by the netif driver in its init function.

Definition at line 1089 of file tcpip.h.

◆ NETIF_FLAG_LINK_UP

#define NETIF_FLAG_LINK_UP   0x04U

#include <common/include/tcpip.h>

If set, the interface has an active link (set by the network interface driver). Either set by the netif driver in its init function (if the link is up at that time) or at a later point once the link comes up (if link detection is supported by the hardware).

Definition at line 1095 of file tcpip.h.

◆ NETIF_FLAG_ETHARP

#define NETIF_FLAG_ETHARP   0x08U

#include <common/include/tcpip.h>

If set, the netif is an ethernet device using ARP. Set by the netif driver in its init function. Used to check input packet types and use of DHCP.

Definition at line 1099 of file tcpip.h.

◆ NETIF_FLAG_ETHERNET

#define NETIF_FLAG_ETHERNET   0x10U

#include <common/include/tcpip.h>

If set, the netif is an ethernet device. It might not use ARP or TCP/IP if it is used for PPPoE only.

Definition at line 1103 of file tcpip.h.

◆ NETIF_FLAG_IGMP

#define NETIF_FLAG_IGMP   0x20U

#include <common/include/tcpip.h>

If set, the netif has IGMP capability. Set by the netif driver in its init function.

Definition at line 1106 of file tcpip.h.

◆ NETIF_FLAG_MLD6

#define NETIF_FLAG_MLD6   0x40U

#include <common/include/tcpip.h>

If set, the netif has MLD6 capability. Set by the netif driver in its init function.

Definition at line 1109 of file tcpip.h.