#include "net/arch.h"#include "net/opt.h"#include "net/pbuf.h"#include "net/ipv4/ip_addr.h"Go to the source code of this file.
Defines | |
| #define | htonl(n) HTONL(n) |
| #define | HTONL(n) (n) |
| #define | htons(n) HTONS(n) |
| #define | HTONS(n) (n) |
| #define | ntohl htonl |
| #define | NTOHL HTONL |
| #define | ntohs htons |
| #define | NTOHS HTONS |
Functions | |
| uInt32 | htonl (uInt32 n) |
| uInt16 | htons (uInt16 n) |
| uInt16 | inet_chksum (void *dataptr, uInt16 len) |
| uInt16 | inet_chksum_pbuf (struct pbuf *p) |
| uInt16 | inet_chksum_pseudo (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, uInt8 proto, uInt16 proto_len) |
| #define htonl | ( | n | ) | HTONL(n) |
| #define htons | ( | n | ) | HTONS(n) |
Definition at line 66 of file inet.h.
Referenced by arp_arp_input(), arp_query(), ethernetif_input(), ethernetif_output(), and lwip_recvfrom().
| #define ntohs htons |
| uInt16 inet_chksum_pseudo | ( | struct pbuf * | p, | |
| struct ip_addr * | src, | |||
| struct ip_addr * | dest, | |||
| uInt8 | proto, | |||
| uInt16 | proto_len | |||
| ) |
1.4.7