/third_party/ltp/testcases/network/stress/route/ |
D | route-change-netlink.c | 49 static struct ip_addr *dst, *gw, *rhost; variable 132 gw_len = save_item((void **)&gw, g_opt, save_ip); in setup() 179 struct sockaddr *dst, struct sockaddr *gw, int type) in brk_on_route_error() argument 183 if (gw) in brk_on_route_error() 184 tst_sock_addr(gw, sizeof(gw), gw_str, sizeof(gw_str)); in brk_on_route_error() 188 iface, dst_str, gw ? gw_str : "null"); in brk_on_route_error() 192 static void rtnl_route(int iface, struct addrinfo *dst, struct addrinfo *gw, in rtnl_route() argument 221 rtm->rtm_scope = gw ? RT_SCOPE_UNIVERSE : RT_SCOPE_LINK; in rtnl_route() 234 if (gw) { in rtnl_route() 236 gw_in6 = ((struct sockaddr_in6 *)gw->ai_addr)->sin6_addr; in rtnl_route() [all …]
|
D | route-change-gw.sh | 25 local gw="$(tst_ipaddr_un -h 2,254 1 $(($1 + 1)))" 28 tst_res TINFO "testing route over gateway '$gw'" 30 tst_add_ipaddr -s -q -a $gw rhost 31 ROD ip route add $rt dev $iface via $gw 33 ROD ip route del $rt dev $iface via $gw 34 tst_del_ipaddr -s -q -a $gw rhost
|
D | route-change-if.sh | 25 local gw="$(tst_ipaddr_un -n1 $1 1)" 30 tst_res TINFO "testing route over interface '$iface' with gateway '$gw'" 33 tst_add_ipaddr -s -q -a $gw rhost $link_num 34 ROD ip route add $rt dev $iface via $gw 36 ROD ip route del $rt dev $iface via $gw 38 tst_del_ipaddr -s -q -a $gw rhost $link_num
|
D | route-change-netlink-if.sh | 16 local gw gw_all iface iface_all 23 gw="$(tst_ipaddr_un -n1 $cnt 1)" 28 tst_add_ipaddr -s -q -a $gw rhost $cnt 30 gw_all="$gw$IP_ADDR_DELIM$gw_all"
|
D | route-change-netlink-gw.sh | 24 gw="$(tst_ipaddr_un -h 2,$max_ip_limit 1 $(($cnt + 1)))" 25 gw_all="$gw$IP_ADDR_DELIM$gw_all" 26 tst_add_ipaddr -s -q -a $gw rhost
|
D | 00_Descriptions.txt | 4 route{4,6}-change-gw 13 route{4,6}-change-netlink-gw
|
D | route-change-netlink-dst.sh | 19 local gw rhost rhost_all rt
|
/third_party/lwip/test/unit/dhcp/ |
D | test_dhcp.c | 438 ip4_addr_t gw; in START_TEST() local 448 IP4_ADDR(&gw, 0, 0, 0, 0); in START_TEST() 450 netif_add(&net_test, &addr, &netmask, &gw, &net_test, testif_init, ethernet_input); in START_TEST() 464 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST() 492 IP4_ADDR(&gw, 195, 170, 189, 171); in START_TEST() 495 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST() 512 ip4_addr_t gw; in START_TEST() local 521 IP4_ADDR(&gw, 0, 0, 0, 0); in START_TEST() 523 netif_add(&net_test, &addr, &netmask, &gw, &net_test, testif_init, ethernet_input); in START_TEST() 537 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST() [all …]
|
/third_party/lwip/test/unit/core/ |
D | test_netif.c | 97 ip4_addr_t gw; in NETIF_DECLARE_EXT_CALLBACK() local 102 IP4_ADDR(&gw, 0, 0, 0, 0); in NETIF_DECLARE_EXT_CALLBACK() 114 netif_add(&net_test, &addr, &netmask, &gw, &net_test, testif_init, ethernet_input); in NETIF_DECLARE_EXT_CALLBACK() 139 IP4_ADDR(&gw, 1, 2, 3, 254); in NETIF_DECLARE_EXT_CALLBACK() 142 netif_set_gw(&net_test, &gw); in NETIF_DECLARE_EXT_CALLBACK() 157 IP4_ADDR(&gw, 0, 0, 0, 0); in NETIF_DECLARE_EXT_CALLBACK() 160 netif_set_gw(&net_test, &gw); in NETIF_DECLARE_EXT_CALLBACK() 167 IP4_ADDR(&gw, 1, 2, 3, 254); in NETIF_DECLARE_EXT_CALLBACK() 171 netif_set_addr(&net_test, &addr, &netmask, &gw); in NETIF_DECLARE_EXT_CALLBACK() 185 netif_set_gw(&net_test, &gw); in NETIF_DECLARE_EXT_CALLBACK() [all …]
|
/third_party/ltp/runtest/ |
D | net_stress.route | 3 route4-change-gw route-change-gw.sh 6 route4-change-netlink-gw route-change-netlink-gw.sh 11 route6-change-gw route-change-gw.sh -6 14 route6-change-netlink-gw route-change-netlink-gw.sh -6
|
/third_party/lwip/src/api/ |
D | netifapi.c | 74 API_EXPR_REF(msg->msg.add.gw), in netifapi_do_netif_add() 99 API_EXPR_REF(msg->msg.add.gw)); in netifapi_do_netif_set_addr() 231 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, argument 246 if (gw == NULL) { 247 gw = IP4_ADDR_ANY4; 255 NETIFAPI_VAR_REF(msg).msg.add.gw = NETIFAPI_VAR_REF(gw); 277 const ip4_addr_t *gw) argument 289 if (gw == NULL) { 290 gw = IP4_ADDR_ANY4; 296 NETIFAPI_VAR_REF(msg).msg.add.gw = NETIFAPI_VAR_REF(gw);
|
/third_party/libcoap/examples/lwip/ |
D | server.c | 47 static ip4_addr_t ipaddr, netmask, gw; variable 58 IP4_ADDR(&gw, 192,168,113,1); in main() 66 netif_add(&netif, &ipaddr, &netmask, &gw, NULL, tapif_init, ethernet_input); in main()
|
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/ |
D | kkj.txt | 7 "\u0327} f g {gb} {gw} h i í ì î {i\u0327} j k {kp} {kw} l m {mb} n {nd} nj {n" 8 "y} ŋ {ŋg} {ŋgb} {ŋgw} o ó ò ô ɔ {ɔ\u0301} {ɔ\u0300} {ɔ\u0302} {ɔ\u0327} p r " 13 "Nd} Nj {Ny} Ŋ {Ŋg} {Ŋgb} {Ŋgw} O Ɔ {Ɔ\u0327} P R S T U {U\u0327} V W Y]" 182 "Nyaŋgwɛ ŋgbanja", 183 "kuŋgwɛ", 198 "Nyaŋgwɛ ŋgbanja", 199 "kuŋgwɛ",
|
D | bas.txt | 130 "ŋgwà nɔ̂y", 131 "ŋgwà njaŋgumba", 132 "ŋgwà ûm", 133 "ŋgwà ŋgê", 134 "ŋgwà mbɔk", 135 "ŋgwà kɔɔ", 136 "ŋgwà jôn",
|
/third_party/skia/third_party/externals/icu/source/data/locales/ |
D | kkj.txt | 8 "\u0327} f g {gb} {gw} h i í ì î {i\u0327} j k {kp} {kw} l m {mb} n {nd} nj {n" 9 "y} ŋ {ŋg} {ŋgb} {ŋgw} o ó ò ô ɔ {ɔ\u0301} {ɔ\u0300} {ɔ\u0302} {ɔ\u0327} p r " 14 "Nd} Nj {Ny} Ŋ {Ŋg} {Ŋgb} {Ŋgw} O Ɔ {Ɔ\u0327} P R S T U {U\u0327} V W Y]" 182 "Nyaŋgwɛ ŋgbanja", 183 "kuŋgwɛ", 198 "Nyaŋgwɛ ŋgbanja", 199 "kuŋgwɛ",
|
D | bas.txt | 130 "ŋgwà nɔ̂y", 131 "ŋgwà njaŋgumba", 132 "ŋgwà ûm", 133 "ŋgwà ŋgê", 134 "ŋgwà mbɔk", 135 "ŋgwà kɔɔ", 136 "ŋgwà jôn",
|
/third_party/icu/icu4c/source/data/locales/ |
D | kkj.txt | 8 "\u0327} f g {gb} {gw} h i í ì î {i\u0327} j k {kp} {kw} l m {mb} n {nd} nj {n" 9 "y} ŋ {ŋg} {ŋgb} {ŋgw} o ó ò ô ɔ {ɔ\u0301} {ɔ\u0300} {ɔ\u0302} {ɔ\u0327} p r " 14 "Nd} Nj {Ny} Ŋ {Ŋg} {Ŋgb} {Ŋgw} O Ɔ {Ɔ\u0327} P R S T U {U\u0327} V W Y]" 182 "Nyaŋgwɛ ŋgbanja", 183 "kuŋgwɛ", 198 "Nyaŋgwɛ ŋgbanja", 199 "kuŋgwɛ",
|
D | bas.txt | 130 "ŋgwà nɔ̂y", 131 "ŋgwà njaŋgumba", 132 "ŋgwà ûm", 133 "ŋgwà ŋgê", 134 "ŋgwà mbɔk", 135 "ŋgwà kɔɔ", 136 "ŋgwà jôn",
|
/third_party/lwip/src/core/ |
D | netif.c | 329 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, argument 364 if (gw == NULL) { 365 gw = ip_2_ip4(IP4_ADDR_ANY); 371 ip_addr_set_zero_ip4(&netif->gw); 433 netif_set_addr(netif, ipaddr, netmask, gw); 515 ip4_addr_debug_print(NETIF_DEBUG, gw); 670 netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw) argument 673 if (ip4_addr_cmp(gw, netif_ip4_gw(netif)) == 0) { 681 ip4_addr_set(ip_2_ip4(&netif->gw), gw); 682 IP_SET_TYPE_VAL(netif->gw, IPADDR_TYPE_V4); [all …]
|
/third_party/lwip/test/fuzz/ |
D | fuzz.c | 146 ip4_addr_t gw; in main() local 153 IP4_ADDR(&gw, 172, 30, 115, 1); in main() 155 netif_add(&net_test, &addr, &netmask, &gw, &net_test, testif_init, ethernet_input); in main() 162 dns_setserver(0, &net_test.gw); in main()
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | usb_eth_drv.c | 65 ip4_addr_t ipaddr, netmask, gw; in eth_drv_init() local 68 IP4_ADDR(&gw, 192, 168, 0, 1); in eth_drv_init() 87 ret = netifapi_netif_add(usb_netif, &ipaddr, &netmask, &gw); in eth_drv_init()
|
/third_party/lwip/src/include/lwip/ |
D | netif.h | 273 ip_addr_t gw; member 449 … const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, 452 const ip4_addr_t *gw); 474 void netif_set_gw(struct netif *netif, const ip4_addr_t *gw); 480 #define netif_ip4_gw(netif) ((const ip4_addr_t*)ip_2_ip4(&((netif)->gw))) 486 #define netif_ip_gw4(netif) ((const ip_addr_t*)&((netif)->gw))
|
D | netifapi.h | 67 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, 73 const ip4_addr_t *netmask, const ip4_addr_t *gw);
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_ether.c | 271 ip4_addr_t ipaddr, netmask, gw; in netdev_register() local 275 IP4_ADDR(&gw, 10, 67, 233, 1); in netdev_register() 296 ret = netifapi_netif_add(usb_netif, &ipaddr, &netmask, &gw); in netdev_register()
|
/third_party/libwebsockets/lib/core-net/client/ |
D | sort-dns.c | 572 char dest[48], gw[48]; in lws_sort_dns_dump() local 575 lws_sa46_write_numeric_address(&s->gateway, gw, sizeof(gw)); in lws_sort_dns_dump() 580 s->gateway.sa4.sin_family, gw, in lws_sort_dns_dump()
|