Home
last modified time | relevance | path

Searched defs:ipaddr (Results 1 – 25 of 70) sorted by relevance

123

/third_party/lwip/src/include/lwip/
Dip_addr.h91 #define IP_IS_ANY_TYPE_VAL(ipaddr) (IP_GET_TYPE(&ipaddr) == IPADDR_TYPE_ANY) argument
96 #define IP_IS_V4_VAL(ipaddr) (IP_GET_TYPE(&ipaddr) == IPADDR_TYPE_V4) argument
98 #define IP_IS_V6_VAL(ipaddr) (IP_GET_TYPE(&ipaddr) == IPADDR_TYPE_V6) argument
100 #define IP_IS_V4(ipaddr) (((ipaddr) == NULL) || IP_IS_V4_VAL(*(ipaddr))) argument
102 #define IP_IS_V6(ipaddr) (((ipaddr) != NULL) && IP_IS_V6_VAL(*(ipaddr))) argument
104 #define IP_SET_TYPE_VAL(ipaddr, iptype) do { (ipaddr).type = (iptype); }while(0) argument
105 #define IP_SET_TYPE(ipaddr, iptype) do { if((ipaddr) != NULL) { IP_SET_TYPE_VAL(*(ipaddr), ipty… argument
106 #define IP_GET_TYPE(ipaddr) ((ipaddr)->type) argument
108 #define IP_ADDR_RAW_SIZE(ipaddr) (IP_GET_TYPE(&ipaddr) == IPADDR_TYPE_V4 ? sizeof(ip4_addr_t) … argument
110 #define IP_ADDR_PCB_VERSION_MATCH_EXACT(pcb, ipaddr) (IP_GET_TYPE(&pcb->local_ip) == IP_GET_TYPE(ip… argument
[all …]
Dip4_addr.h104 #define IP4_ADDR(ipaddr, a,b,c,d) (ipaddr)->addr = PP_HTONL(LWIP_MAKEU32(a,b,c,d)) argument
113 #define ip4_addr_set_zero(ipaddr) ((ipaddr)->addr = 0) argument
115 #define ip4_addr_set_any(ipaddr) ((ipaddr)->addr = IPADDR_ANY) argument
117 #define ip4_addr_set_loopback(ipaddr) ((ipaddr)->addr = PP_HTONL(IPADDR_LOOPBACK)) argument
119 #define ip4_addr_isloopback(ipaddr) (((ipaddr)->addr & PP_HTONL(IP_CLASSA_NET)) == PP_HTONL(((u3… argument
162 #define ip4_addr_debug_print(debug, ipaddr) \ argument
168 #define ip4_addr_debug_print_val(debug, ipaddr) \ argument
176 #define ip4_addr_get_byte(ipaddr, idx) (((const u8_t*)(&(ipaddr)->addr))[idx]) argument
177 #define ip4_addr1(ipaddr) ip4_addr_get_byte(ipaddr, 0) argument
178 #define ip4_addr2(ipaddr) ip4_addr_get_byte(ipaddr, 1) argument
[all …]
Dip6_addr.h316 #define ip6_addr_debug_print(debug, ipaddr) \ argument
326 #define ip6_addr_debug_print_val(debug, ipaddr) \ argument
/third_party/lwip/src/core/ipv4/
Detharp.c98 ip4_addr_t ipaddr; member
285 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) in etharp_find_entry()
451 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8…
532 etharp_add_static_entry(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr)
561 etharp_remove_static_entry(const ip4_addr_t *ipaddr)
615 etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr,
644 etharp_get_entry(size_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret)
823 etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr)
965 etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q)
1221 etharp_request_dst(struct netif *netif, const ip4_addr_t *ipaddr, const struct eth_addr *hw_dst_add…
[all …]
Dip4_addr.c60 ip4_addr_t ipaddr; in ip4_addr_isbroadcast_u32() local
Dautoip.c169 autoip_create_addr(struct netif *netif, ip4_addr_t *ipaddr) in autoip_create_addr()
/third_party/nghttp2/src/
Dshrpx_tls_test.cc206 static Address parse_addr(const char *ipaddr) { in parse_addr()
231 static constexpr char ipaddr[] = "127.0.0.1"; in test_shrpx_tls_verify_numeric_hostname() local
244 static constexpr char ipaddr[] = "::1"; in test_shrpx_tls_verify_numeric_hostname() local
257 static constexpr char ipaddr[] = "192.168.0.127"; in test_shrpx_tls_verify_numeric_hostname() local
270 static constexpr char ipaddr[] = "192.168.0.1"; in test_shrpx_tls_verify_numeric_hostname() local
283 static constexpr char ipaddr[] = "127.0.0.1"; in test_shrpx_tls_verify_numeric_hostname() local
/third_party/lwip/src/api/
Dnetifapi.c170 netifapi_arp_add(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, enum netifapi_arp_entry type)
200 netifapi_arp_remove(const ip4_addr_t *ipaddr, enum netifapi_arp_entry type)
231 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw,
275 const ip4_addr_t *ipaddr,
Dsockets.c97 #define IP4ADDR_PORT_TO_SOCKADDR(sin, ipaddr, port) do { \ argument
103 #define SOCKADDR4_TO_IP4ADDR_PORT(sin, ipaddr, port) do { \ argument
109 #define IP6ADDR_PORT_TO_SOCKADDR(sin6, ipaddr, port) do { \ argument
116 #define SOCKADDR6_TO_IP6ADDR_PORT(sin6, ipaddr, port) do { \ argument
134 #define IPADDR_PORT_TO_SOCKADDR(sockaddr, ipaddr, port) do { \ argument
140 #define SOCKADDR_TO_IPADDR_PORT(sockaddr, ipaddr, port) sockaddr_to_ipaddr_port(sockaddr, ipaddr, &… argument
147 #define IPADDR_PORT_TO_SOCKADDR(sockaddr, ipaddr, port) \ argument
149 #define SOCKADDR_TO_IPADDR_PORT(sockaddr, ipaddr, port) \ argument
156 #define IPADDR_PORT_TO_SOCKADDR(sockaddr, ipaddr, port) \ argument
158 #define SOCKADDR_TO_IPADDR_PORT(sockaddr, ipaddr, port) \ argument
[all …]
/third_party/lwip/src/core/
Draw.c229 raw_bind(struct raw_pcb *pcb, const ip_addr_t *ipaddr) in raw_bind()
286 raw_connect(struct raw_pcb *pcb, const ip_addr_t *ipaddr) in raw_connect()
362 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *ipaddr) in raw_sendto()
Dnetif.c329 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw,
540 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr)
583 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr)
741 netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask,
1749 netif_null_output_ip6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr)
1763 netif_null_output_ip4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr)
Daltcp.c303 altcp_bind(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port) in altcp_bind()
316 altcp_connect(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altcp_connected_fn conne… in altcp_connect()
552 altcp_default_bind(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port) in altcp_default_bind()
Dudp.c978 udp_bind(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port)
1125 udp_connect(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port)
Daltcp_tcp.c259 altcp_tcp_bind(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port) in altcp_tcp_bind()
271 altcp_tcp_connect(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altcp_connected_fn c… in altcp_tcp_connect()
/third_party/selinux/secilc/docs/
Dcil_network_labeling_statements.md4 ipaddr section in Network Labeling Statements
/third_party/libcoap/examples/lwip/
Dserver.c48 static ip4_addr_t ipaddr, netmask, gw; variable
Dclient.c48 static ip4_addr_t ipaddr, netmask, gw; variable
/third_party/lwip/src/netif/
Dslipif.c172 slipif_output_v4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) in slipif_output_v4()
191 slipif_output_v6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr) in slipif_output_v6()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_drv_ops.h308 int version, const u8 *ipaddr, in hostapd_drv_br_add_ip_neigh()
319 u8 version, const u8 *ipaddr) in hostapd_drv_br_delete_ip_neigh()
/third_party/lwip/test/unit/mqtt/
Dtest_mqtt.c13 const ip4_addr_t *ipaddr) in test_mqtt_netif_output()
/third_party/FreeBSD/sys/dev/usb/net/
Dusb_eth_drv.c65 ip4_addr_t ipaddr, netmask, gw; in eth_drv_init() local
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_drv_ops.h313 int version, const u8 *ipaddr, in hostapd_drv_br_add_ip_neigh()
324 u8 version, const u8 *ipaddr) in hostapd_drv_br_delete_ip_neigh()
/third_party/ltp/testcases/cve/
Dicmp_rate_limit01.c53 struct sockaddr_in ipaddr = { .sin_family = AF_INET }; in setup() local
/third_party/NuttX/drivers/usbdev/gadget/
Df_ether.c271 ip4_addr_t ipaddr, netmask, gw; in netdev_register() local
/third_party/lwip/src/netif/ppp/
Dppp.c491 static err_t ppp_netif_output_ip4(struct netif *netif, struct pbuf *pb, const ip4_addr_t *ipaddr) { in ppp_netif_output_ip4()
501 static err_t ppp_netif_output_ip6(struct netif *netif, struct pbuf *pb, const ip6_addr_t *ipaddr) { in ppp_netif_output_ip6()

123