mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 11:00:27 +03:00
Initial revision
This commit is contained in:
17
src/include/ip.h
Normal file
17
src/include/ip.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user