mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 10:30:23 +03:00
18 lines
245 B
C
18 lines
245 B
C
#ifndef _IP_H
|
|
#define _IP_H
|
|
|
|
struct iphdr {
|
|
uint8_t verhdrlen;
|
|
uint8_t service;
|
|
uint16_t len;
|
|
uint16_t ident;
|
|
uint16_t frags;
|
|
uint8_t ttl;
|
|
uint8_t protocol;
|
|
uint16_t chksum;
|
|
in_addr src;
|
|
in_addr dest;
|
|
} PACKED;
|
|
|
|
#endif /* _IP_H */
|