/
githubmirror
/
ipxe
Обзор
Документация
Войти
/
githubmirror
/
ipxe
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v0.9.3
src/include/ip.h
23 строки
370 B
Michael Brown
Moved include/in.h to include/gpxe/in.h, so that it can be included by
23 мар 2006, 19:45
23 мар 2006, 19:45
dde1c5a
Код
Авторство
О чём код?
#ifndef _IP_H #define _IP_H #include "stddef.h" #include "stdint.h" #include <gpxe/in.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; struct in_addr src; struct in_addr dest; } PACKED; extern uint16_t tcpudpchksum(struct iphdr *ip); #endif /* _IP_H */