Home
last modified time | relevance | path

Searched defs:netid (Results 1 – 25 of 139) sorted by relevance

123456

/aosp_15_r20/kernel/tests/net/test/
H A Dmultinetwork_base.py149 def UidRangeForNetid(cls, netid): argument
158 def UidForNetid(cls, netid): argument
164 def _TableForNetid(cls, netid): argument
171 def GetInterfaceName(netid): argument
175 def RouterMacAddress(netid): argument
179 def MyMacAddress(netid): argument
183 def _RouterAddress(netid, version): argument
192 def _MyIPv4Address(cls, netid): argument
196 def _MyIPv6Address(cls, netid): argument
200 def MyAddress(cls, version, netid): argument
[all …]
H A Dtcp_test.py62 def OpenListenSocket(self, version, netid): argument
71 def _ReceiveAndExpectResponse(self, netid, packet, reply, msg): argument
77 def ReceivePacketOn(self, netid, packet): argument
81 def ReceiveRstPacketOn(self, netid): argument
97 def ExpectPacketOn(self, netid, msg, pkt): argument
101 def IncomingConnection(self, version, end_state, netid): argument
H A Dsrcaddr_selection_test.py78 def GetSourceIP(self, netid, mode="mark"): argument
112 def SendWithSourceAddress(self, address, netid, dest=net_test.IPV6_ADDR): argument
121 def assertAddressUsable(self, address, netid): argument
126 def assertAddressNotUsable(self, address, netid): argument
131 def assertAddressSelected(self, address, netid): argument
134 def assertAddressNotSelected(self, address, netid): argument
H A Dtcp_repair_test.py71 def createConnectedSocket(self, version, netid): argument
99 def receiveFin(self, netid, version, sock): argument
107 def sendData(self, netid, version, sock, payload): argument
116 def receiveData(self, netid, version, payload): argument
206 def PollRepairSocketInMultipleThreads(self, netid, version, expected): argument
H A Dxfrm_tunnel_test.py153 def _SendPacket(testInstance, netid, version, remote, remote_port): argument
193 def _CheckTunnelOutput(self, inner_version, outer_version, underlying_netid, argument
201 def _CheckTunnelInput(self, inner_version, outer_version, underlying_netid, argument
350 def __init__(self, iface, netid, underlying_netid, local, remote, version): argument
416 def __init__(self, iface, netid, underlying_netid, _, local, remote, version): argument
498 def __init__(self, iface, netid, underlying_netid, ifindex, local, remote, argument
647 def _GetLocalAddress(cls, version, netid): argument
654 def UidRangeForTunnelNetId(cls, netid): argument
H A Dtcp_fastopen_test.py42 def TFOClientSocket(self, version, netid): argument
55 def clearTcpMetrics(self, version, netid): argument
62 def assertNoTcpMetrics(self, version, netid): argument
H A Dmultinetwork_test.py50 def CheckPingPacket(self, version, netid, routing_mode, packet): argument
70 def CheckTCPSYNPacket(self, version, netid, routing_mode): argument
87 def CheckUDPPacket(self, version, netid, routing_mode): argument
109 def CheckRawGrePacket(self, version, netid, routing_mode): argument
214 def ExpectSendUsesNetid(netid): argument
443 def CheckTCPConnection(self, mode, listensocket, netid, version, argument
1183 def SendBigPacket(version, s, dstaddr, netid, payload): argument
H A Danycast_test.py70 def AnycastSetsockopt(self, s, is_add, netid, addr): argument
H A Dresilient_rs_test.py90 def makeTunInterface(self, netid): argument
H A Dsock_diag_test.py554 def checkInitRwndSize(self, version, netid): argument
564 def checkSynPacketWindowSize(self, version, netid): argument
H A Dxfrm_base.py284 def _ExpectEspPacketOn(self, netid, spi, seq, length, src_addr, dst_addr): argument
/aosp_15_r20/frameworks/base/native/android/
H A Dnet.c30 static int getnetidfromhandle(net_handle_t handle, unsigned *netid) { in getnetidfromhandle()
45 static net_handle_t gethandlefromnetid(unsigned netid) { in gethandlefromnetid()
53 unsigned netid; in android_setsocknetwork() local
68 unsigned netid; in android_setprocnetwork() local
88 unsigned netid = getNetworkForProcess(); in android_getprocnetwork() local
94 unsigned netid; in android_setprocdns() local
114 unsigned netid; in android_getprocdns() local
128 unsigned netid; in android_getaddrinfofornetwork() local
139 unsigned netid; in android_res_nquery() local
153 unsigned netid; in android_res_nsend() local
/aosp_15_r20/packages/modules/DnsResolver/
Dres_cache.cpp1044 const unsigned netid; member
1120 void _resolv_cache_query_failed(unsigned netid, span<const uint8_t> query, uint32_t flags) { in _resolv_cache_query_failed()
1247 ResolvCacheStatus resolv_cache_lookup(unsigned netid, span<const uint8_t> query, in resolv_cache_lookup()
1346 int resolv_cache_add(unsigned netid, span<const uint8_t> query, span<const uint8_t> answer) { in resolv_cache_add()
1407 bool resolv_gethostbyaddr_from_cache(unsigned netid, char domain_name[], size_t domain_name_size, in resolv_gethostbyaddr_from_cache()
1501 bool resolv_has_nameservers(unsigned netid) { in resolv_has_nameservers()
1507 int resolv_create_cache_for_net(unsigned netid) { in resolv_create_cache_for_net()
1519 void resolv_delete_cache_for_net(unsigned netid) { in resolv_delete_cache_for_net()
1524 int resolv_flush_cache_for_net(unsigned netid) { in resolv_flush_cache_for_net()
1548 static Cache* find_named_cache_locked(unsigned netid) { in find_named_cache_locked()
[all …]
Dresolv_private.h134 unsigned netid; // NetId: cache key and socket mark member
/aosp_15_r20/bionic/libc/dns/resolv/
H A Dres_cache.c1285 unsigned netid; member
1333 _cache_check_pending_request_locked( struct resolv_cache** cache, Entry* key, unsigned netid ) in _cache_check_pending_request_locked()
1400 _resolv_cache_query_failed( unsigned netid, in _resolv_cache_query_failed()
1670 _resolv_cache_lookup( unsigned netid, in _resolv_cache_lookup()
1760 _resolv_cache_add( unsigned netid, in _resolv_cache_add()
1874 _get_res_cache_for_net_locked(unsigned netid) in _get_res_cache_for_net_locked()
1894 _resolv_flush_cache_for_net(unsigned netid) in _resolv_flush_cache_for_net()
1905 _flush_cache_for_net_locked(unsigned netid) in _flush_cache_for_net_locked()
1917 void _resolv_delete_cache_for_net(unsigned netid) in _resolv_delete_cache_for_net()
1964 _find_named_cache_locked(unsigned netid) { in _find_named_cache_locked()
[all …]
/aosp_15_r20/external/dnsmasq/src/
H A Drfc2131.c134 struct dhcp_netid* netid; in dhcp_reply() local
1356 static size_t dhcp_packet_size(struct dhcp_packet* mess, struct dhcp_netid* netid, in dhcp_packet_size()
1532 static struct dhcp_opt* option_find2(struct dhcp_netid* netid, struct dhcp_opt* opts, int opt) { in option_find2()
1603 static int prune_vendor_opts(struct dhcp_netid* netid) { in prune_vendor_opts()
1618 static struct dhcp_opt* pxe_opts(int pxe_arch, struct dhcp_netid* netid) { in pxe_opts()
1734 struct dhcp_boot* find_boot(struct dhcp_netid* netid) { in find_boot()
1749 char* config_domain, struct dhcp_netid* netid, struct in_addr subnet_addr, in do_options()
H A Ddnsmasq.h445 struct dhcp_netid netid; member
472 struct dhcp_netid* netid; member
491 struct dhcp_netid* netid; member
499 struct dhcp_netid* netid; member
513 struct dhcp_netid netid; member
521 struct dhcp_netid netid; member
542 struct dhcp_netid netid, *filter; member
/aosp_15_r20/bionic/libc/dns/net/
H A Dgethnamaddr.c800 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); in gethostbyname_internal() local
909 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); in android_gethostbyaddrfornetcontext_proxy_internal() local
1562 static struct android_net_context make_context(unsigned netid, unsigned mark) { in make_context()
1572 android_gethostbynamefornet(const char *name, int af, unsigned netid, unsigned mark) in android_gethostbynamefornet()
1601 android_gethostbyaddrfornet(const void *addr, socklen_t len, int af, unsigned netid, unsigned mark) in android_gethostbyaddrfornet()
H A Dgetnameinfo.c124 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid, in android_getnameinfofornet()
175 int flags, unsigned netid, unsigned mark) in getnameinfo_inet()
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/
DConfigurationMap.java111 public WifiConfiguration getForAllUsers(int netid) { in getForAllUsers()
115 public WifiConfiguration getForCurrentUser(int netid) { in getForCurrentUser()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/wifi/
DWifiAPITest.java45 private int netid; field in WifiAPITest
/aosp_15_r20/external/iproute2/tipc/
H A Dbearer.c88 int *netid = (int*)data; in get_netid_cb() local
103 int netid; in generate_multicast() local
H A Dnode.c174 int netid; in cmd_node_set_netid() local
/aosp_15_r20/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/
H A Dtirpc_svc_5.c44 char netid[4]; member
/aosp_15_r20/frameworks/base/core/java/android/net/metrics/
H A DIpConnectivityLog.java155 public boolean log(int netid, @NonNull int[] transports, @NonNull Event data) { in log()

123456