23 #define IP_MASK_VER 0xf0U 24 #define IP_MASK_HLEN 0x0fU 25 #define IP_MASK_OFFSET 0x1fffU 26 #define IP_MASK_DONOTFRAG 0x4000U 27 #define IP_MASK_MOREFRAGS 0x2000U 79 const char *
value,
void *buf,
size_t len );
struct in_addr netmask
Subnet mask.
int ipv4_has_any_addr(struct net_device *netdev)
Check if network device has any IPv4 address.
struct list_head list
List of miniroutes.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint32_t type
Operating system type.
struct net_device * netdev
Network device.
int format_ipv4_setting(const struct setting_type *type, const void *raw, size_t raw_len, char *buf, size_t len)
struct net_protocol ipv4_protocol __net_protocol
AoE protocol.
struct in_addr address
IPv4 address.
A doubly-linked list entry (or list head)
An IPv4 address/routing table entry.
struct in_addr gateway
Gateway address.
static struct net_device * netdev
pseudo_bit_t value[0x00020]
struct list_head ipv4_miniroutes
List of IPv4 miniroutes.
int parse_ipv4_setting(const struct setting_type *type, const char *value, void *buf, size_t len)
A network-layer protocol.
Network device management.