HomeSort by relevance Sort by last modified time
    Searched refs:netif (Results 1 - 25 of 43) sorted by null

1 2

  /external/avahi/avahi-compat-howl/include/salt/
interface.h 64 sw_network_interface netif);
70 sw_network_interface * netif);
75 sw_network_interface netif,
82 sw_network_interface netif,
88 sw_network_interface netif,
94 sw_network_interface netif,
100 sw_network_interface netif,
106 sw_network_interface netif,
112 sw_network_interface netif);
salt.h 81 struct _sw_network_interface * netif,
140 struct _sw_network_interface * netif,
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
UnixNetworkInterfaceTest.java 39 NetworkInterface netif = netifs.nextElement(); local
40 String name = netif.getName();
41 boolean up = netif.isUp();
48 assertEquals(name + " up should be " + !up, !up, netif.isUp());
53 assertEquals(name + " up should be " + up, up, netif.isUp());
64 NetworkInterface netif = netifs.nextElement(); local
65 String name = netif.getName();
66 boolean multicast = netif.supportsMulticast();
73 !multicast, netif.supportsMulticast());
80 multicast, netif.supportsMulticast())
91 NetworkInterface netif = netifs.nextElement(); local
122 NetworkInterface netif = netifs.nextElement(); local
146 NetworkInterface netif = netifs.nextElement(); local
167 NetworkInterface netif = netifs.nextElement(); local
193 NetworkInterface netif = netifs.nextElement(); local
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
netifconquery.py 67 for netif in self.policy.netifcons():
69 netif.netif,
74 if not self._match_context(netif.context):
77 yield netif
  /external/autotest/client/bin/net/
net_tc.py 97 def setup(self, netif):
100 self._leaf_qdisc.setup(netif)
107 def restore(self, netif):
116 self._leaf_qdisc.restore(netif)
187 def _get_tc_conf(self, netif):
191 self._tc_conf[tcfilter.conf_device] = netif.get_name()
205 def setup(self, netif):
209 def restore(self, netif):
230 def setup(self, netif):
231 tc_conf = self._get_tc_conf(netif)
    [all...]
net_utils_mock.py 29 return netif_stub(iface, 'net_utils', net_utils.netif)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/
netifcon.py 92 self.netif = ocon.netif
99 return self.netif < other.netif
102 return self.netif == other.netif
  /libcore/ojluni/src/main/java/java/net/
InetAddressImpl.java 64 * Whether {@code addr} is reachable over {@code netif}.
66 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif,
Inet6AddressImpl.java 142 public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws IOException {
146 if (netif != null) {
153 java.util.Enumeration it = netif.getInetAddresses();
NetworkInterface.java 343 NetworkInterface netif = netifs[i++]; local
344 return netif;
  /external/autotest/site_utils/
lxc_utils.py 54 netif = interface.Interface(lxc_network)
55 return netif.ipv4_address
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
NetworkInterfaceTest.java 355 NetworkInterface netif = theInterfaces.nextElement(); local
356 assertEquals(netif.getName()
358 netif.getInterfaceAddresses().size());
363 NetworkInterface netif = theInterfaces.nextElement(); local
364 List<InterfaceAddress> interfaceAddrs = netif.getInterfaceAddresses();
370 List<InterfaceAddress> interfaceAddrs2 = netif.getInterfaceAddresses();
384 NetworkInterface netif = theInterfaces.nextElement(); local
386 Enumeration<InetAddress> addrs = netif.getInetAddresses();
393 assertEquals(loopback, netif.isLoopback());
405 NetworkInterface netif = theInterfaces.nextElement() local
423 NetworkInterface netif = theInterfaces.nextElement(); local
    [all...]
InetAddressTest.java 354 NetworkInterface netif; local
356 netif = nif.nextElement();
357 ia.isReachable(netif, 10, 1000);
  /libcore/ojluni/src/main/native/
Inet4AddressImpl.c 71 struct sockaddr_in* netif, jint ttl) {
99 if (netif != NULL) {
100 if (bind(fd, (struct sockaddr*)netif, sizeof(struct sockaddr_in)) < 0) {
199 struct sockaddr_in* netif = NULL; local
236 netif = &inf;
249 return ping4(env, fd, &him, timeout, netif, ttl);
273 if (netif != NULL) {
274 if (bind(fd, (struct sockaddr*)netif, sizeof(struct sockaddr_in)) < 0) {
NetworkInterface.c 74 } netif; typedef in typeref:struct:_netif
110 static jobject createNetworkInterface(JNIEnv *env, netif *ifs);
113 static netif *enumInterfaces(JNIEnv *env);
115 static netif *addif(JNIEnv *env, int sock, struct ifaddrs *ifa, netif *ifs);
116 static void freeif(netif *ifs);
169 netif *ifs, *curr;
213 netif *ifs, *curr;
253 netif *ifs, *curr;
336 netif *ifs, *curr
    [all...]
Inet6AddressImpl.c 145 struct sockaddr_in6* netif, jint ttl) {
180 if (netif != NULL) {
181 if (bind(fd, (struct sockaddr*)netif, sizeof(struct sockaddr_in6)) <0) {
272 struct sockaddr_in6* netif = NULL; local
318 netif = &inf6;
331 return ping6(env, fd, &him6, timeout, netif, ttl);
353 if (netif != NULL) {
354 if (bind(fd, (struct sockaddr*)netif, sizeof(struct sockaddr_in6)) <0) {
  /external/autotest/client/tests/netperf2/
netperf2.py 31 self.netif = ''
116 self.netif = net_utils.netif(dev)
117 self.netif.up()
118 if self.netif.get_ipaddr() != ip_addr:
119 self.netif.set_ipaddr(ip_addr)
123 if self.netif:
124 self.netif.restore()
  /external/selinux/libsepol/tests/policies/test-expander/
alias-base.conf 29 class netif
229 class netif
role-base.conf 29 class netif
229 class netif
user-base.conf 29 class netif
229 class netif
  /external/selinux/libsepol/tests/policies/test-hooks/
cmp_policy.conf 29 class netif
229 class netif
small-base.conf 29 class netif
229 class netif
  /external/selinux/libsepol/tests/policies/test-deps/
base-metreq.conf 29 class netif
229 class netif
base-notmetreq.conf 29 class netif
228 class netif
small-base.conf 29 class netif
229 class netif

Completed in 1037 milliseconds

1 2