|
INET Framework for OMNeT++/OMNEST
|
#include "lwip/opt.h"#include "lwip/def.h"#include "lwip/pbuf.h"#include "lwip/ip_addr.h"#include "lwip/err.h"#include "lwip/netif.h"Classes | |
| struct | ip_hdr |
Macros | |
| #define | __LWIP_IP_H__ |
| #define | IP_HLEN 40 |
| #define | IP_PROTO_ICMP 58 |
| #define | IP_PROTO_UDP 17 |
| #define | IP_PROTO_UDPLITE 136 |
| #define | IP_PROTO_TCP 6 |
| #define | IP_HDRINCL NULL |
| #define | IP_PCB_ADDRHINT |
| #define | IP_PCB |
| #define | IPH_PROTO(hdr) (iphdr->nexthdr) |
| #define | ip_current_netif() NULL |
| #define | ip_current_header() NULL |
Functions | |
| void | ip_init (void) |
| struct netif * | ip_route (struct ip_addr *dest) |
| void | ip_input (struct pbuf *p, struct netif *inp) |
| err_t | ip_output (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t ttl, u8_t proto) |
| err_t | ip_output_if (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t ttl, u8_t proto, struct netif *netif) |
| #define __LWIP_IP_H__ |
| #define ip_current_header | ( | ) | NULL |
| #define ip_current_netif | ( | ) | NULL |
| #define IP_HDRINCL NULL |
| #define IP_HLEN 40 |
| #define IP_PCB |
| #define IP_PCB_ADDRHINT |
| #define IP_PROTO_ICMP 58 |
| #define IP_PROTO_TCP 6 |
| #define IP_PROTO_UDP 17 |
| #define IP_PROTO_UDPLITE 136 |
| #define IPH_PROTO | ( | hdr | ) | (iphdr->nexthdr) |
| void ip_init | ( | void | ) |
| void ip_input | ( | struct pbuf * | p, |
| struct netif * | inp | ||
| ) |
| err_t ip_output | ( | struct pbuf * | p, |
| struct ip_addr * | src, | ||
| struct ip_addr * | dest, | ||
| u8_t | ttl, | ||
| u8_t | proto | ||
| ) |
| err_t ip_output_if | ( | struct pbuf * | p, |
| struct ip_addr * | src, | ||
| struct ip_addr * | dest, | ||
| u8_t | ttl, | ||
| u8_t | proto, | ||
| struct netif * | netif | ||
| ) |
| struct netif* ip_route | ( | struct ip_addr * | dest | ) |