Home
last modified time | relevance | path

Searched refs:ipaddr (Results 1 – 5 of 5) sorted by relevance

/net-tools-2.7.6/tinydtls-0.8.2/examples/contiki/
Ddtls-server.c215 PRINT6ADDR(&uip_ds6_if.addr_list[i].ipaddr); in print_local_addresses()
223 create_rpl_dag(uip_ipaddr_t *ipaddr)
227 root_if = uip_ds6_addr_lookup(ipaddr);
232 rpl_set_root(RPL_DEFAULT_INSTANCE, ipaddr);
258 uip_ipaddr_t ipaddr; in init_dtls()
281 uip_ip6addr(&ipaddr, 0xaaaa, 0,0,0,0x0200,0,0,0x0003); in init_dtls()
282 uip_ds6_addr_add(&ipaddr, 0, ADDR_MANUAL); in init_dtls()
284 create_rpl_dag(&ipaddr); in init_dtls()
Ddtls-client.c239 PRINT6ADDR(&uip_ds6_if.addr_list[i].ipaddr); in print_local_addresses()
246 set_connection_address(uip_ipaddr_t *ipaddr) in set_connection_address() argument
251 if(uiplib_ipaddrconv(QUOTEME(UDP_CONNECTION_ADDR), ipaddr) == 0) { in set_connection_address()
255 uip_ip6addr(ipaddr,0xaaaa,0,0,0,0x0200,0x0000,0x0000,0x0001); in set_connection_address()
257 uip_ip6addr(ipaddr,0xfe80,0,0,0,0x6466,0x6666,0x6666,0x6666); in set_connection_address()
/net-tools-2.7.6/libcoap/examples/lwip/
Dserver.c48 static ip_addr_t ipaddr, netmask, gw; variable
58 IP4_ADDR(&ipaddr, 192,168,0,2); in main()
65 netif_add(&netif, &ipaddr, &netmask, &gw, NULL, mintapif_init, ethernet_input); in main()
/net-tools-2.7.6/
Dtunslip6.c63 const char *ipaddr; variable
244 char *s = strchr(ipaddr, '/'); in serial_to_tun()
248 inet_pton(AF_INET6, ipaddr, &addr); in serial_to_tun()
252 ipaddr, in serial_to_tun()
761 if (ipaddr == NULL) { in cleanup()
782 char * itfaddr = strdup(ipaddr); in cleanup()
785 ssystem("ifconfig %s inet6 %s remove", tundev, ipaddr); in cleanup()
824 ifconf(const char *tundev, const char *ipaddr, int tap) in ifconf() argument
828 if (ipaddr == NULL) { in ifconf()
836 ssystem("ifconfig %s add %s", tundev, ipaddr); in ifconf()
[all …]
Dcoap-client.c1528 static coap_context_t *get_coap_context(struct sockaddr *ipaddr, int ipaddrlen) in get_coap_context() argument
1535 memcpy(&addr.addr, ipaddr, ipaddrlen); in get_coap_context()