|
#define | PS2IP_DNS |
|
#define | PS2IP_DHCP 1 |
|
#define | LWIP_IPV4 1 |
|
#define | LWIP_IPV6 0 |
|
#define | LWIP_IPV6_MLD 0 |
|
#define | LWIP_CHECKSUM_CTRL_PER_NETIF 0 |
|
#define | LWIP_NETIF_REMOVE_CALLBACK 0 |
|
#define | LWIP_IPV6_AUTOCONFIG 0 |
|
#define | LWIP_MULTICAST_TX_OPTIONS 0 |
|
#define | LWIP_DHCP 1 |
|
#define | LWIP_TCP 1 |
|
#define | LWIP_UDP 1 |
|
#define | LWIP_UDPLITE 0 |
|
#define | MIB2_STATS 0 |
|
#define | ENABLE_LOOPBACK 0 |
|
#define | DNS_LOCAL_HOSTLIST 0 |
|
#define | MEMP_NUM_UDP_PCB 4 |
|
#define | MEMP_NUM_TCP_PCB 5 |
|
#define | MEMP_NUM_NETCONN (MEMP_NUM_TCP_PCB + MEMP_NUM_UDP_PCB) |
|
#define | LWIP_NETIF_STATUS_CALLBACK 0 |
|
#define | LWIP_NETIF_LINK_CALLBACK 0 |
|
#define | LWIP_AUTOIP 0 |
|
#define | LWIP_NETIF_HOSTNAME 0 |
|
#define | LWIP_SNMP 0 |
|
#define | LWIP_IGMP 0 |
|
#define | LWIP_NETIF_HWADDRHINT 0 |
|
#define | LWIP_LOOPBACK_MAX_PBUFS 0 |
|
#define | LWIP_NUM_NETIF_CLIENT_DATA 0 |
|
#define | LWIP_SOCKET_OFFSET 0 |
|
#define | LWIP_IPV6_SEND_ROUTER_SOLICIT 1 |
|
#define | DNS_MAX_SERVERS 2 |
|
#define | PBUF_TRANSPORT_HLEN 20 |
|
#define | PBUF_IP_HLEN 20 |
|
#define | IPADDR_NONE ((u32)0xffffffffUL) |
|
#define | IPADDR_LOOPBACK ((u32)0x7f000001UL) |
|
#define | IPADDR_ANY ((u32)0x00000000UL) |
|
#define | IPADDR_BROADCAST ((u32)0xffffffffUL) |
|
#define | IP_CLASSA(a) ((((u32)(a)) & 0x80000000UL) == 0) |
|
#define | IP_CLASSA_NET 0xff000000 |
|
#define | IP_CLASSA_NSHIFT 24 |
|
#define | IP_CLASSA_HOST (0xffffffff & ~IP_CLASSA_NET) |
|
#define | IP_CLASSA_MAX 128 |
|
#define | IP_CLASSB(a) ((((u32)(a)) & 0xc0000000UL) == 0x80000000UL) |
|
#define | IP_CLASSB_NET 0xffff0000 |
|
#define | IP_CLASSB_NSHIFT 16 |
|
#define | IP_CLASSB_HOST (0xffffffff & ~IP_CLASSB_NET) |
|
#define | IP_CLASSB_MAX 65536 |
|
#define | IP_CLASSC(a) ((((u32)(a)) & 0xe0000000UL) == 0xc0000000UL) |
|
#define | IP_CLASSC_NET 0xffffff00 |
|
#define | IP_CLASSC_NSHIFT 8 |
|
#define | IP_CLASSC_HOST (0xffffffff & ~IP_CLASSC_NET) |
|
#define | IP_CLASSD(a) (((u32)(a)&0xf0000000UL) == 0xe0000000UL) |
|
#define | IP_CLASSD_NET 0xf0000000 /* These ones aren't really */ |
|
#define | IP_CLASSD_NSHIFT 28 /* net and host fields, but */ |
|
#define | IP_CLASSD_HOST 0x0fffffff /* routing needn't know. */ |
|
#define | IP_MULTICAST(a) IP_CLASSD(a) |
|
#define | IP_EXPERIMENTAL(a) (((u32)(a)&0xf0000000UL) == 0xf0000000UL) |
|
#define | IP_BADCLASS(a) (((u32)(a)&0xf0000000UL) == 0xf0000000UL) |
|
#define | IP_LOOPBACKNET 127 /* official! */ |
|
#define | IP4_ADDR(ipaddr, a, b, c, d) |
|
#define | IPADDR2_COPY(dest, src) memcpy(dest, src, sizeof(ip4_addr_t)) |
|
#define | ip4_addr_copy(dest, src) ((dest).addr = (src).addr) |
|
#define | ip4_addr_set(dest, src) |
|
#define | ip4_addr_set_zero(ipaddr) ((ipaddr)->addr = 0) |
|
#define | ip4_addr_set_any(ipaddr) ((ipaddr)->addr = IPADDR_ANY) |
|
#define | ip4_addr_set_loopback(ipaddr) ((ipaddr)->addr = PP_HTONL(IPADDR_LOOPBACK)) |
|
#define | ip4_addr_isloopback(ipaddr) (((ipaddr)->addr & PP_HTONL(IP_CLASSA_NET)) == PP_HTONL(((u32)IP_LOOPBACKNET) << 24)) |
|
#define | ip4_addr_set_hton(dest, src) |
|
#define | ip4_addr_set_u32(dest_ipaddr, src_u32) ((dest_ipaddr)->addr = (src_u32)) |
|
#define | ip4_addr_get_u32(src_ipaddr) ((src_ipaddr)->addr) |
|
#define | ip4_addr_get_network(target, host, netmask) |
|
#define | ip4_addr_netcmp(addr1, addr2, mask) |
|
#define | ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr) |
|
#define | ip4_addr_isany_val(addr1) ((addr1).addr == IPADDR_ANY) |
|
#define | ip4_addr_isany(addr1) ((addr1) == NULL || ip4_addr_isany_val(*(addr1))) |
|
#define | ip4_addr_isbroadcast(addr1, netif) ip4_addr_isbroadcast_u32((addr1)->addr, netif) |
|
#define | ip_addr_netmask_valid(netmask) ip4_addr_netmask_valid((netmask)->addr) |
|
#define | ip4_addr_ismulticast(addr1) (((addr1)->addr & PP_HTONL(0xf0000000UL)) == PP_HTONL(0xe0000000UL)) |
|
#define | ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL)) |
|
#define | ip4_addr_debug_print_parts(debug, a, b, c, d) LWIP_DEBUGF(debug, ("%" U16_F ".%" U16_F ".%" U16_F ".%" U16_F, a, b, c, d)) |
|
#define | ip4_addr_debug_print(debug, ipaddr) |
|
#define | ip4_addr_debug_print_val(debug, ipaddr) |
|
#define | ip4_addr1(ipaddr) (((const u8 *)(&(ipaddr)->addr))[0]) |
|
#define | ip4_addr2(ipaddr) (((const u8 *)(&(ipaddr)->addr))[1]) |
|
#define | ip4_addr3(ipaddr) (((const u8 *)(&(ipaddr)->addr))[2]) |
|
#define | ip4_addr4(ipaddr) (((const u8 *)(&(ipaddr)->addr))[3]) |
|
#define | ip4_addr1_16(ipaddr) ((u16)ip4_addr1(ipaddr)) |
|
#define | ip4_addr2_16(ipaddr) ((u16)ip4_addr2(ipaddr)) |
|
#define | ip4_addr3_16(ipaddr) ((u16)ip4_addr3(ipaddr)) |
|
#define | ip4_addr4_16(ipaddr) ((u16)ip4_addr4(ipaddr)) |
|
#define | IP4ADDR_STRLEN_MAX 16 |
|
#define | IP6_ADDR_PART(ip6addr, index, a, b, c, d) |
|
#define | IP6_ADDR(ip6addr, idx0, idx1, idx2, idx3) |
|
#define | IP6_ADDR_BLOCK1(ip6addr) ((u16)((lwip_htonl((ip6addr)->addr[0]) >> 16) & 0xffff)) |
|
#define | IP6_ADDR_BLOCK2(ip6addr) ((u16)((lwip_htonl((ip6addr)->addr[0])) & 0xffff)) |
|
#define | IP6_ADDR_BLOCK3(ip6addr) ((u16)((lwip_htonl((ip6addr)->addr[1]) >> 16) & 0xffff)) |
|
#define | IP6_ADDR_BLOCK4(ip6addr) ((u16)((lwip_htonl((ip6addr)->addr[1])) & 0xffff)) |
|
#define | IP6_ADDR_BLOCK5(ip6addr) ((u16)((lwip_htonl((ip6addr)->addr[2]) >> 16) & 0xffff)) |
|
#define | IP6_ADDR_BLOCK6(ip6addr) ((u16)((lwip_htonl((ip6addr)->addr[2])) & 0xffff)) |
|
#define | IP6_ADDR_BLOCK7(ip6addr) ((u16)((lwip_htonl((ip6addr)->addr[3]) >> 16) & 0xffff)) |
|
#define | IP6_ADDR_BLOCK8(ip6addr) ((u16)((lwip_htonl((ip6addr)->addr[3])) & 0xffff)) |
|
#define | ip6_addr_copy(dest, src) |
|
#define | ip6_addr_set(dest, src) |
|
#define | ip6_addr_set_zero(ip6addr) |
|
#define | ip6_addr_set_any(ip6addr) ip6_addr_set_zero(ip6addr) |
|
#define | ip6_addr_set_loopback(ip6addr) |
|
#define | ip6_addr_set_hton(dest, src) |
|
#define | ip6_addr_netcmp(addr1, addr2) |
|
#define | ip6_addr_cmp(addr1, addr2) |
|
#define | ip6_get_subnet_id(ip6addr) (lwip_htonl((ip6addr)->addr[2]) & 0x0000ffffUL) |
|
#define | ip6_addr_isany_val(ip6addr) |
|
#define | ip6_addr_isany(ip6addr) (((ip6addr) == NULL) || ip6_addr_isany_val(*(ip6addr))) |
|
#define | ip6_addr_isloopback(ip6addr) |
|
#define | ip6_addr_isglobal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xe0000000UL)) == PP_HTONL(0x20000000UL)) |
|
#define | ip6_addr_islinklocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xffc00000UL)) == PP_HTONL(0xfe800000UL)) |
|
#define | ip6_addr_issitelocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xffc00000UL)) == PP_HTONL(0xfec00000UL)) |
|
#define | ip6_addr_isuniquelocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xfe000000UL)) == PP_HTONL(0xfc000000UL)) |
|
#define | ip6_addr_isipv6mappedipv4(ip6addr) (((ip6addr)->addr[0] == 0) && ((ip6addr)->addr[1] == 0) && (((ip6addr)->addr[2]) == PP_HTONL(0x0000FFFFUL))) |
|
#define | ip6_addr_ismulticast(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff000000UL)) == PP_HTONL(0xff000000UL)) |
|
#define | ip6_addr_multicast_transient_flag(ip6addr) ((ip6addr)->addr[0] & PP_HTONL(0x00100000UL)) |
|
#define | ip6_addr_multicast_prefix_flag(ip6addr) ((ip6addr)->addr[0] & PP_HTONL(0x00200000UL)) |
|
#define | ip6_addr_multicast_rendezvous_flag(ip6addr) ((ip6addr)->addr[0] & PP_HTONL(0x00400000UL)) |
|
#define | ip6_addr_multicast_scope(ip6addr) ((lwip_htonl((ip6addr)->addr[0]) >> 16) & 0xf) |
|
#define | IP6_MULTICAST_SCOPE_RESERVED 0x0 |
|
#define | IP6_MULTICAST_SCOPE_RESERVED0 0x0 |
|
#define | IP6_MULTICAST_SCOPE_INTERFACE_LOCAL 0x1 |
|
#define | IP6_MULTICAST_SCOPE_LINK_LOCAL 0x2 |
|
#define | IP6_MULTICAST_SCOPE_RESERVED3 0x3 |
|
#define | IP6_MULTICAST_SCOPE_ADMIN_LOCAL 0x4 |
|
#define | IP6_MULTICAST_SCOPE_SITE_LOCAL 0x5 |
|
#define | IP6_MULTICAST_SCOPE_ORGANIZATION_LOCAL 0x8 |
|
#define | IP6_MULTICAST_SCOPE_GLOBAL 0xe |
|
#define | IP6_MULTICAST_SCOPE_RESERVEDF 0xf |
|
#define | ip6_addr_ismulticast_iflocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xff010000UL)) |
|
#define | ip6_addr_ismulticast_linklocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xff020000UL)) |
|
#define | ip6_addr_ismulticast_adminlocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xff040000UL)) |
|
#define | ip6_addr_ismulticast_sitelocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xff050000UL)) |
|
#define | ip6_addr_ismulticast_orglocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xff080000UL)) |
|
#define | ip6_addr_ismulticast_global(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xff0e0000UL)) |
|
#define | ip6_addr_isallnodes_iflocal(ip6addr) |
|
#define | ip6_addr_isallnodes_linklocal(ip6addr) |
|
#define | ip6_addr_set_allnodes_linklocal(ip6addr) |
|
#define | ip6_addr_isallrouters_linklocal(ip6addr) |
|
#define | ip6_addr_set_allrouters_linklocal(ip6addr) |
|
#define | ip6_addr_issolicitednode(ip6addr) |
|
#define | ip6_addr_set_solicitednode(ip6addr, if_id) |
|
#define | ip6_addr_cmp_solicitednode(ip6addr, sn_addr) |
|
#define | IP6_ADDR_INVALID 0x00 |
|
#define | IP6_ADDR_TENTATIVE 0x08 |
|
#define | IP6_ADDR_TENTATIVE_1 0x09 /* 1 probe sent */ |
|
#define | IP6_ADDR_TENTATIVE_2 0x0a /* 2 probes sent */ |
|
#define | IP6_ADDR_TENTATIVE_3 0x0b /* 3 probes sent */ |
|
#define | IP6_ADDR_TENTATIVE_4 0x0c /* 4 probes sent */ |
|
#define | IP6_ADDR_TENTATIVE_5 0x0d /* 5 probes sent */ |
|
#define | IP6_ADDR_TENTATIVE_6 0x0e /* 6 probes sent */ |
|
#define | IP6_ADDR_TENTATIVE_7 0x0f /* 7 probes sent */ |
|
#define | IP6_ADDR_VALID 0x10 /* This bit marks an address as valid (preferred or deprecated) */ |
|
#define | IP6_ADDR_PREFERRED 0x30 |
|
#define | IP6_ADDR_DEPRECATED 0x10 /* Same as VALID (valid but not preferred) */ |
|
#define | IP6_ADDR_TENTATIVE_COUNT_MASK 0x07 /* 1-7 probes sent */ |
|
#define | ip6_addr_isinvalid(addr_state) (addr_state == IP6_ADDR_INVALID) |
|
#define | ip6_addr_istentative(addr_state) (addr_state & IP6_ADDR_TENTATIVE) |
|
#define | ip6_addr_isvalid(addr_state) (addr_state & IP6_ADDR_VALID) /* Include valid, preferred, and deprecated. */ |
|
#define | ip6_addr_ispreferred(addr_state) (addr_state == IP6_ADDR_PREFERRED) |
|
#define | ip6_addr_isdeprecated(addr_state) (addr_state == IP6_ADDR_DEPRECATED) |
|
#define | ip6_addr_debug_print_parts(debug, a, b, c, d, e, f, g, h) |
|
#define | ip6_addr_debug_print(debug, ipaddr) |
|
#define | ip6_addr_debug_print_val(debug, ipaddr) |
|
#define | IP6ADDR_STRLEN_MAX 46 |
|
#define | IP_ADDR_PCB_VERSION_MATCH(addr, pcb) 1 |
|
#define | IP_ADDR_PCB_VERSION_MATCH_EXACT(pcb, ipaddr) 1 |
|
#define | IPADDR4_INIT(u32val) |
|
#define | IP_IS_V4_VAL(ipaddr) 1 |
|
#define | IP_IS_V6_VAL(ipaddr) 0 |
|
#define | IP_IS_V4(ipaddr) 1 |
|
#define | IP_IS_V6(ipaddr) 0 |
|
#define | IP_IS_ANY_TYPE_VAL(ipaddr) 0 |
|
#define | IP_SET_TYPE_VAL(ipaddr, iptype) |
|
#define | IP_SET_TYPE(ipaddr, iptype) |
|
#define | IP_GET_TYPE(ipaddr) IPADDR_TYPE_V4 |
|
#define | ip_2_ip4(ipaddr) (ipaddr) |
|
#define | IP_ADDR4(ipaddr, a, b, c, d) IP4_ADDR(ipaddr, a, b, c, d) |
|
#define | ip_addr_copy(dest, src) ip4_addr_copy(dest, src) |
|
#define | ip_addr_copy_from_ip4(dest, src) ip4_addr_copy(dest, src) |
|
#define | ip_addr_set_ip4_u32(ipaddr, val) ip4_addr_set_u32(ip_2_ip4(ipaddr), val) |
|
#define | ip_addr_get_ip4_u32(ipaddr) ip4_addr_get_u32(ip_2_ip4(ipaddr)) |
|
#define | ip_addr_set(dest, src) ip4_addr_set(dest, src) |
|
#define | ip_addr_set_ipaddr(dest, src) ip4_addr_set(dest, src) |
|
#define | ip_addr_set_zero(ipaddr) ip4_addr_set_zero(ipaddr) |
|
#define | ip_addr_set_zero_ip4(ipaddr) ip4_addr_set_zero(ipaddr) |
|
#define | ip_addr_set_any(is_ipv6, ipaddr) ip4_addr_set_any(ipaddr) |
|
#define | ip_addr_set_loopback(is_ipv6, ipaddr) ip4_addr_set_loopback(ipaddr) |
|
#define | ip_addr_set_hton(dest, src) ip4_addr_set_hton(dest, src) |
|
#define | ip_addr_get_network(target, host, mask) ip4_addr_get_network(target, host, mask) |
|
#define | ip_addr_netcmp(addr1, addr2, mask) ip4_addr_netcmp(addr1, addr2, mask) |
|
#define | ip_addr_cmp(addr1, addr2) ip4_addr_cmp(addr1, addr2) |
|
#define | ip_addr_isany(ipaddr) ip4_addr_isany(ipaddr) |
|
#define | ip_addr_isany_val(ipaddr) ip4_addr_isany_val(ipaddr) |
|
#define | ip_addr_isloopback(ipaddr) ip4_addr_isloopback(ipaddr) |
|
#define | ip_addr_islinklocal(ipaddr) ip4_addr_islinklocal(ipaddr) |
|
#define | ip_addr_isbroadcast(addr, netif) ip4_addr_isbroadcast(addr, netif) |
|
#define | ip_addr_ismulticast(ipaddr) ip4_addr_ismulticast(ipaddr) |
|
#define | ip_addr_debug_print(debug, ipaddr) ip4_addr_debug_print(debug, ipaddr) |
|
#define | ip_addr_debug_print_val(debug, ipaddr) ip4_addr_debug_print_val(debug, ipaddr) |
|
#define | ipaddr_ntoa(ipaddr) ip4addr_ntoa(ipaddr) |
|
#define | ipaddr_ntoa_r(ipaddr, buf, buflen) ip4addr_ntoa_r(ipaddr, buf, buflen) |
|
#define | ipaddr_aton(cp, addr) ip4addr_aton(cp, addr) |
|
#define | IPADDR_STRLEN_MAX IP4ADDR_STRLEN_MAX |
|
#define | IP_ADDR_ANY IP4_ADDR_ANY |
|
#define | IP4_ADDR_ANY (&ip_addr_any) |
|
#define | IP4_ADDR_ANY4 (ip_2_ip4(&ip_addr_any)) |
|
#define | IP_ADDR_BROADCAST (&ip_addr_broadcast) |
|
#define | IP4_ADDR_BROADCAST (ip_2_ip4(&ip_addr_broadcast)) |
|
#define | IP_ANY_TYPE IP_ADDR_ANY |
|
#define | NETIF_MAX_HWADDR_LEN 6U |
|
#define | NETIF_FLAG_UP 0x01U |
|
#define | NETIF_FLAG_BROADCAST 0x02U |
|
#define | NETIF_FLAG_LINK_UP 0x04U |
|
#define | NETIF_FLAG_ETHARP 0x08U |
|
#define | NETIF_FLAG_ETHERNET 0x10U |
|
#define | NETIF_FLAG_IGMP 0x20U |
|
#define | NETIF_FLAG_MLD6 0x40U |
|
#define | netif_set_client_data(netif, id, data) netif_get_client_data(netif, id) = (data) |
|
#define | netif_get_client_data(netif, id) (netif)->client_data[(id)] |
|
#define | NETIF_SET_CHECKSUM_CTRL(netif, chksumflags) |
|
#define | IF__NETIF_CHECKSUM_ENABLED(netif, chksumflag) |
|
#define | netif_ip4_addr(netif) ((const ip4_addr_t *)ip_2_ip4(&((netif)->ip_addr))) |
|
#define | netif_ip4_netmask(netif) ((const ip4_addr_t *)ip_2_ip4(&((netif)->netmask))) |
|
#define | netif_ip4_gw(netif) ((const ip4_addr_t *)ip_2_ip4(&((netif)->gw))) |
|
#define | netif_ip_addr4(netif) ((const ip_addr_t *)&((netif)->ip_addr)) |
|
#define | netif_ip_netmask4(netif) ((const ip_addr_t *)&((netif)->netmask)) |
|
#define | netif_ip_gw4(netif) ((const ip_addr_t *)&((netif)->gw)) |
|
#define | netif_is_up(netif) (((netif)->flags & NETIF_FLAG_UP) ? (u8)1 : (u8)0) |
|
#define | netif_is_link_up(netif) (((netif)->flags & NETIF_FLAG_LINK_UP) ? (u8)1 : (u8)0) |
|
#define | NETIF_SET_HWADDRHINT(netif, hint) |
|
#define | s6_addr un.u8_addr |
|
#define | INADDR_NONE IPADDR_NONE |
|
#define | INADDR_LOOPBACK IPADDR_LOOPBACK |
|
#define | INADDR_ANY IPADDR_ANY |
|
#define | INADDR_BROADCAST IPADDR_BROADCAST |
|
#define | SIN_ZERO_LEN 8 |
|
#define | SOCKLEN_T_DEFINED 1 |
|
#define | SOCK_STREAM 1 |
|
#define | SOCK_DGRAM 2 |
|
#define | SOCK_RAW 3 |
|
#define | SO_REUSEADDR 0x0004 /* Allow local address reuse */ |
|
#define | SO_KEEPALIVE 0x0008 /* keep connections alive */ |
|
#define | SO_BROADCAST 0x0020 /* permit to send and to receive broadcast messages (see IP_SOF_BROADCAST option) */ |
|
#define | SO_DEBUG 0x0001 /* Unimplemented: turn on debugging info recording */ |
|
#define | SO_ACCEPTCONN 0x0002 /* socket has had listen() */ |
|
#define | SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */ |
|
#define | SO_USELOOPBACK 0x0040 /* Unimplemented: bypass hardware when possible */ |
|
#define | SO_LINGER 0x0080 /* linger on close if data present */ |
|
#define | SO_DONTLINGER ((int)(~SO_LINGER)) |
|
#define | SO_OOBINLINE 0x0100 /* Unimplemented: leave received OOB data in line */ |
|
#define | SO_REUSEPORT 0x0200 /* Unimplemented: allow local address & port reuse */ |
|
#define | SO_SNDBUF 0x1001 /* Unimplemented: send buffer size */ |
|
#define | SO_RCVBUF 0x1002 /* receive buffer size */ |
|
#define | SO_SNDLOWAT 0x1003 /* Unimplemented: send low-water mark */ |
|
#define | SO_RCVLOWAT 0x1004 /* Unimplemented: receive low-water mark */ |
|
#define | SO_SNDTIMEO 0x1005 /* send timeout */ |
|
#define | SO_RCVTIMEO 0x1006 /* receive timeout */ |
|
#define | SO_ERROR 0x1007 /* get error status and clear */ |
|
#define | SO_TYPE 0x1008 /* get socket type */ |
|
#define | SO_CONTIMEO 0x1009 /* Unimplemented: connect timeout */ |
|
#define | SO_NO_CHECK 0x100a /* don't create UDP checksum */ |
|
#define | SOL_SOCKET 0xfff /* options for socket level */ |
|
#define | AF_UNSPEC 0 |
|
#define | AF_INET 2 |
|
#define | AF_INET6 AF_UNSPEC |
|
#define | PF_INET AF_INET |
|
#define | PF_INET6 AF_INET6 |
|
#define | PF_UNSPEC AF_UNSPEC |
|
#define | IPPROTO_IP 0 |
|
#define | IPPROTO_ICMP 1 |
|
#define | IPPROTO_TCP 6 |
|
#define | IPPROTO_UDP 17 |
|
#define | IPPROTO_UDPLITE 136 |
|
#define | IPPROTO_RAW 255 |
|
#define | MSG_PEEK 0x01 /* Peeks at an incoming message */ |
|
#define | MSG_WAITALL 0x02 /* Unimplemented: Requests that the function block until the full amount of data requested can be returned */ |
|
#define | MSG_OOB 0x04 /* Unimplemented: Requests out-of-band data. The significance and semantics of out-of-band data are protocol-specific */ |
|
#define | MSG_DONTWAIT 0x08 /* Nonblocking i/o for this operation only */ |
|
#define | MSG_MORE 0x10 /* Sender will send more */ |
|
#define | IP_TOS 1 |
|
#define | IP_TTL 2 |
|
#define | TCP_NODELAY 0x01 /* don't delay send to coalesce packets */ |
|
#define | TCP_KEEPALIVE 0x02 /* send KEEPALIVE probes when idle for pcb->keep_idle milliseconds */ |
|
#define | TCP_KEEPIDLE 0x03 /* set pcb->keep_idle - Same as TCP_KEEPALIVE, but use seconds for get/setsockopt */ |
|
#define | TCP_KEEPINTVL 0x04 /* set pcb->keep_intvl - Use seconds for get/setsockopt */ |
|
#define | TCP_KEEPCNT 0x05 /* set pcb->keep_cnt - Use number of probes sent for get/setsockopt */ |
|
#define | IPTOS_TOS_MASK 0x1E |
|
#define | IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK) |
|
#define | IPTOS_LOWDELAY 0x10 |
|
#define | IPTOS_THROUGHPUT 0x08 |
|
#define | IPTOS_RELIABILITY 0x04 |
|
#define | IPTOS_LOWCOST 0x02 |
|
#define | IPTOS_MINCOST IPTOS_LOWCOST |
|
#define | IPTOS_PREC_MASK 0xe0 |
|
#define | IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK) |
|
#define | IPTOS_PREC_NETCONTROL 0xe0 |
|
#define | IPTOS_PREC_INTERNETCONTROL 0xc0 |
|
#define | IPTOS_PREC_CRITIC_ECP 0xa0 |
|
#define | IPTOS_PREC_FLASHOVERRIDE 0x80 |
|
#define | IPTOS_PREC_FLASH 0x60 |
|
#define | IPTOS_PREC_IMMEDIATE 0x40 |
|
#define | IPTOS_PREC_PRIORITY 0x20 |
|
#define | IPTOS_PREC_ROUTINE 0x00 |
|
#define | IOCPARM_MASK 0x7fU /* parameters must be < 128 bytes */ |
|
#define | IOC_VOID 0x20000000UL /* no parameters */ |
|
#define | IOC_OUT 0x40000000UL /* copy out parameters */ |
|
#define | IOC_IN 0x80000000UL /* copy in parameters */ |
|
#define | IOC_INOUT (IOC_IN | IOC_OUT) |
|
#define | _IO(x, y) (IOC_VOID | ((x) << 8) | (y)) |
|
#define | _IOR(x, y, t) (IOC_OUT | (((long)sizeof(t) & IOCPARM_MASK) << 16) | ((x) << 8) | (y)) |
|
#define | _IOW(x, y, t) (IOC_IN | (((long)sizeof(t) & IOCPARM_MASK) << 16) | ((x) << 8) | (y)) |
|
#define | FIONREAD _IOR('f', 127, unsigned long) /* get # bytes to read */ |
|
#define | FIONBIO _IOW('f', 126, unsigned long) /* set/clear non-blocking i/o */ |
|
#define | SIOCSHIWAT _IOW('s', 0, unsigned long) /* set high watermark */ |
|
#define | SIOCGHIWAT _IOR('s', 1, unsigned long) /* get high watermark */ |
|
#define | SIOCSLOWAT _IOW('s', 2, unsigned long) /* set low watermark */ |
|
#define | SIOCGLOWAT _IOR('s', 3, unsigned long) /* get low watermark */ |
|
#define | SIOCATMARK _IOR('s', 7, unsigned long) /* at oob mark? */ |
|
#define | F_GETFL 3 |
|
#define | F_SETFL 4 |
|
#define | O_NONBLOCK 1 /* nonblocking I/O */ |
|
#define | O_NDELAY 1 /* same as O_NONBLOCK, for compatibility */ |
|
#define | SHUT_RD 0 |
|
#define | SHUT_WR 1 |
|
#define | SHUT_RDWR 2 |
|
#define | FD_SETSIZE MEMP_NUM_NETCONN |
|
#define | FDSETSAFESET(n, code) |
|
#define | FDSETSAFEGET(n, code) |
|
#define | FD_SET(n, p) FDSETSAFESET(n, (p)->fd_bits[((n)-LWIP_SOCKET_OFFSET) / 8] |= (1 << (((n)-LWIP_SOCKET_OFFSET) & 7))) |
|
#define | FD_CLR(n, p) FDSETSAFESET(n, (p)->fd_bits[((n)-LWIP_SOCKET_OFFSET) / 8] &= ~(1 << (((n)-LWIP_SOCKET_OFFSET) & 7))) |
|
#define | FD_ISSET(n, p) FDSETSAFEGET(n, (p)->fd_bits[((n)-LWIP_SOCKET_OFFSET) / 8] & (1 << (((n)-LWIP_SOCKET_OFFSET) & 7))) |
|
#define | FD_ZERO(p) memset((void *)(p), 0, sizeof(*(p))) |
|
#define | DNS_TMR_INTERVAL 1000 |
|
#define | LWIP_DNS_ADDRTYPE_IPV4 0 |
|
#define | LWIP_DNS_ADDRTYPE_IPV6 1 |
|
#define | LWIP_DNS_ADDRTYPE_IPV4_IPV6 2 /* try to resolve IPv4 first, try IPv6 if IPv4 fails only */ |
|
#define | LWIP_DNS_ADDRTYPE_IPV6_IPV4 3 /* try to resolve IPv6 first, try IPv4 if IPv6 fails only */ |
|
#define | LWIP_DNS_ADDRTYPE_DEFAULT LWIP_DNS_ADDRTYPE_IPV4 |
|
#define | LWIP_DNS_API_DECLARE_H_ERRNO 1 |
|
#define | LWIP_DNS_API_DEFINE_ERRORS 1 |
|
#define | LWIP_DNS_API_DEFINE_FLAGS 1 |
|
#define | LWIP_DNS_API_DECLARE_STRUCTS 1 |
|
#define | EAI_NONAME 200 |
|
#define | EAI_SERVICE 201 |
|
#define | EAI_FAIL 202 |
|
#define | EAI_MEMORY 203 |
|
#define | EAI_FAMILY 204 |
|
#define | HOST_NOT_FOUND 210 |
|
#define | NO_DATA 211 |
|
#define | NO_RECOVERY 212 |
|
#define | TRY_AGAIN 213 |
|
#define | AI_PASSIVE 0x01 |
|
#define | AI_CANONNAME 0x02 |
|
#define | AI_NUMERICHOST 0x04 |
|
#define | AI_NUMERICSERV 0x08 |
|
#define | AI_V4MAPPED 0x10 |
|
#define | AI_ALL 0x20 |
|
#define | AI_ADDRCONFIG 0x40 |
|
#define | h_addr h_addr_list[0] /* for backward compatibility */ |
|
#define | NETDB_ELEM_SIZE (sizeof(struct addrinfo) + sizeof(struct sockaddr_storage) + DNS_MAX_NAME_LENGTH + 1) |
|
#define | htons(x) lwip_htons(x) |
|
#define | ntohs(x) lwip_ntohs(x) |
|
#define | htonl(x) lwip_htonl(x) |
|
#define | ntohl(x) lwip_ntohl(x) |
|
#define | lwip_htons(x) PP_HTONS(x) |
|
#define | lwip_ntohs(x) PP_NTOHS(x) |
|
#define | lwip_htonl(x) PP_HTONL(x) |
|
#define | lwip_ntohl(x) PP_NTOHL(x) |
|
#define | PP_HTONS(x) ((((x)&0xff) << 8) | (((x)&0xff00) >> 8)) |
|
#define | PP_NTOHS(x) PP_HTONS(x) |
|
#define | PP_HTONL(x) |
|
#define | PP_NTOHL(x) PP_HTONL(x) |
|