Home
last modified time | relevance | path

Searched refs:gateway (Results 1 - 16 of 16) sorted by relevance

/third_party/curl/src/
H A Dtool_ipfs.c68 char *gateway = curlx_getenv("IPFS_GATEWAY"); in ipfs_gateway() local
71 if(gateway) { in ipfs_gateway()
72 if(ensure_trailing_slash(&gateway)) in ipfs_gateway()
74 return gateway; in ipfs_gateway()
77 /* Try to find the gateway in the IPFS data folder. */ in ipfs_gateway()
105 /* get the first line of the gateway file, ignore the rest */ in ipfs_gateway()
116 gateway = curlx_dyn_ptr(&dyn); in ipfs_gateway()
118 if(gateway) in ipfs_gateway()
119 ensure_trailing_slash(&gateway); in ipfs_gateway()
121 if(!gateway) in ipfs_gateway()
145 char *gateway = NULL; ipfs_url_rewrite() local
[all...]
/third_party/ltp/include/
H A Dtst_netdevice.h76 * Add new static entry to main routing table. If you specify gateway address,
82 unsigned int dstprefix, size_t dstlen, const void *gateway,
85 dstprefix, dstlen, gateway, gatewaylen) \
88 (dstlen), (gateway), (gatewaylen))
93 * name is optional if gateway address is non-zero.
97 in_addr_t dstaddr, unsigned int dstprefix, in_addr_t gateway);
99 gateway) \
101 (srcprefix), (dstaddr), (dstprefix), (gateway))
109 unsigned int dstprefix, size_t dstlen, const void *gateway,
112 dstaddr, dstprefix, dstlen, gateway, gatewayle
[all...]
/third_party/ltp/lib/
H A Dtst_netdevice.c378 size_t dstlen, const void *gateway, size_t gatewaylen) in modify_route()
392 if (!ifname && !gateway) { in modify_route()
394 "Interface name or gateway address required"); in modify_route()
433 if (gateway && !tst_rtnl_add_attr(file, lineno, ctx, RTA_GATEWAY, in modify_route()
434 gateway, gatewaylen)) { in modify_route()
460 unsigned int dstprefix, in_addr_t gateway) in modify_route_inet()
475 if (gateway) { in modify_route_inet()
476 gw = &gateway; in modify_route_inet()
477 gwlen = sizeof(gateway); in modify_route_inet()
488 unsigned int dstprefix, size_t dstlen, const void *gateway, in tst_netdev_add_route()
374 modify_route(const char *file, const int lineno, int strict, unsigned int action, unsigned int flags, const char *ifname, unsigned int family, const void *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr, unsigned int dstprefix, size_t dstlen, const void *gateway, size_t gatewaylen) modify_route() argument
457 modify_route_inet(const char *file, const int lineno, int strict, unsigned int action, unsigned int flags, const char *ifname, in_addr_t srcaddr, unsigned int srcprefix, in_addr_t dstaddr, unsigned int dstprefix, in_addr_t gateway) modify_route_inet() argument
485 tst_netdev_add_route(const char *file, const int lineno, int strict, const char *ifname, unsigned int family, const void *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr, unsigned int dstprefix, size_t dstlen, const void *gateway, size_t gatewaylen) tst_netdev_add_route() argument
496 tst_netdev_add_route_inet(const char *file, const int lineno, int strict, const char *ifname, in_addr_t srcaddr, unsigned int srcprefix, in_addr_t dstaddr, unsigned int dstprefix, in_addr_t gateway) tst_netdev_add_route_inet() argument
505 tst_netdev_remove_route(const char *file, const int lineno, int strict, const char *ifname, unsigned int family, const void *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr, unsigned int dstprefix, size_t dstlen, const void *gateway, size_t gatewaylen) tst_netdev_remove_route() argument
516 tst_netdev_remove_route_inet(const char *file, const int lineno, int strict, const char *ifname, in_addr_t srcaddr, unsigned int srcprefix, in_addr_t dstaddr, unsigned int dstprefix, in_addr_t gateway) tst_netdev_remove_route_inet() argument
[all...]
/third_party/libwebsockets/lib/core-net/
H A Droute.c60 if (rou->gateway.sa4.sin_family) { in _lws_routing_entry_dump()
61 lws_sa46_write_numeric_address(&rou->gateway, sa, sizeof(sa)); in _lws_routing_entry_dump()
90 * lte there may still be a valid gateway route, but all existing tcp
91 * connections previously using the wlan gateway will be broken, since their
92 * connections are from its gateway to the peer.
95 * estimated to be using that route, eg, for gateway, and close those wsi.
150 (!robj->gateway.sa4.sin_family || in _lws_route_remove()
151 !lws_sa46_compare_ads(&robj->gateway, &rou->gateway)) && in _lws_route_remove()
216 * route, just return that, otherwise find the "best" gateway b in _lws_route_est_outgoing()
[all...]
/third_party/ffmpeg/libavformat/
H A Dipfsgateway.c38 // Is filled by the -gateway argument and not changed after.
39 char *gateway; member
40 // If the above gateway is non null, it will be copied into this buffer.
41 // Else this buffer will contain the auto detected gateway.
42 // In either case, the gateway to use will be in this buffer.
46 // A best-effort way to find the IPFS gateway.
47 // Only the most appropiate gateway is set. It's not actually requested
83 // the "gateway" file which would tell us the gateway to use. in populate_ipfs_gateway()
141 // Copy the fully composed gateway pat in populate_ipfs_gateway()
[all...]
/third_party/libwebsockets/lib/core-net/client/
H A Dsort-dns.c226 * Either or both sa and sb can be dest or gateway routes
240 sa6 = to_v6_sa(&sa->gateway); in lws_sort_dns_scomp()
242 sb6 = to_v6_sa(&sb->gateway); in lws_sort_dns_scomp()
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()
645 * selection, eg, if no usable net route or gateway for it, in lws_sort_dns()
687 estr->gateway.sa4.sin_family == AF_INET) in lws_sort_dns()
721 /* gateway routes are skipped here */ in lws_sort_dns()
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-network-helper.h53 lws_sockaddr46 gateway; member
/third_party/node/deps/npm/node_modules/ip-address/dist/
H A Dipv6.js716 - Bits 16 to 48 embed the IPv4 address of the 6to4 gateway that is used.
719 const gateway = ipv4_1.Address4.fromHex(this.getBitsBase16(16, 48));
722 gateway: gateway.address,
/third_party/musl/porting/uniproton/kernel/include/netinet/
H A Dip_icmp.h21 uint32_t gateway; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
H A Dip_icmp.h21 uint32_t gateway; member
/third_party/musl/porting/liteos_a/kernel/include/netinet/
H A Dip_icmp.h21 uint32_t gateway; member
/third_party/musl/porting/liteos_m/kernel/include/netinet/
H A Dip_icmp.h21 uint32_t gateway; member
/third_party/musl/include/netinet/
H A Dip_icmp.h21 uint32_t gateway; member
/third_party/libwebsockets/lib/roles/netlink/
H A Dops-netlink.c278 lws_sa46_copy_address(&robj.gateway, in rops_handle_POLLIN_netlink()
/third_party/ltp/testcases/network/stress/ns-tools/
H A Dns-icmp_redirector.c28 * gateway. When the utility receives the packet from the host
266 * And it updates the IPv4 gateway information.
271 * gateway_p : pointer to IPv4 gateway information
297 /* Update the gateway information */ in return_arp_reply()
357 * new_gw_p : pointer to new IPv4 gateway information
366 static struct ip4_gateway_info *gw_p; /* pointor to gateway */ in return_icmp4_redirect()
376 /* If MAC address in received frame is changed, update the gateway info */ in return_icmp4_redirect()
423 memcpy((unsigned char *)&(sndicmp_p->hdr.un.gateway), gw_p->nexthop, 4); in return_icmp4_redirect()
448 * And this updates the gateway information.
454 * gateway_p : pointer to IPv6 gateway informatio
[all...]
/third_party/rust/crates/libc/src/
H A Dpsp.rs2403 pub gateway: [u8; 16usize],

Completed in 17 milliseconds