Home
last modified time | relevance | path

Searched refs:netif (Results 1 – 25 of 25) sorted by relevance

/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixNetworkInterfaceTest.java39 NetworkInterface netif = netifs.nextElement(); in test_isUp() local
40 String name = netif.getName(); in test_isUp()
41 boolean up = netif.isUp(); in test_isUp()
48 assertEquals(name + " up should be " + !up, !up, netif.isUp()); in test_isUp()
53 assertEquals(name + " up should be " + up, up, netif.isUp()); in test_isUp()
64 NetworkInterface netif = netifs.nextElement(); in test_supportsMulticast() local
65 String name = netif.getName(); in test_supportsMulticast()
66 boolean multicast = netif.supportsMulticast(); in test_supportsMulticast()
73 !multicast, netif.supportsMulticast()); in test_supportsMulticast()
80 multicast, netif.supportsMulticast()); in test_supportsMulticast()
[all …]
/external/autotest/client/bin/net/
Dnet_tc.py97 def setup(self, netif): argument
100 self._leaf_qdisc.setup(netif)
107 def restore(self, netif): argument
116 self._leaf_qdisc.restore(netif)
187 def _get_tc_conf(self, netif): argument
191 self._tc_conf[tcfilter.conf_device] = netif.get_name()
205 def setup(self, netif): argument
209 def restore(self, netif): argument
230 def setup(self, netif): argument
231 tc_conf = self._get_tc_conf(netif)
[all …]
Dnet_utils_mock.py29 return netif_stub(iface, 'net_utils', net_utils.netif)
Dnet_utils.py387 def netif(name): function
434 netif('eth0').wait_for_carrier(timeout=60)
/external/avahi/avahi-compat-howl/include/salt/
Dinterface.h64 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);
Dsalt.h81 struct _sw_network_interface * netif,
140 struct _sw_network_interface * netif,
/external/autotest/client/tests/netperf2/
Dnetperf2.py31 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/autotest/site_utils/
Dlxc_utils.py54 netif = interface.Interface(lxc_network)
55 return netif.ipv4_address
/external/selinux/libsepol/tests/policies/test-hooks/
Dcmp_policy.conf29 class netif
229 class netif
Dsmall-base.conf29 class netif
229 class netif
/external/selinux/libsepol/tests/policies/test-expander/
Drole-base.conf29 class netif
229 class netif
Dalias-base.conf29 class netif
229 class netif
Duser-base.conf29 class netif
229 class netif
Dsmall-base.conf29 class netif
229 class netif
/external/selinux/libsepol/tests/policies/test-deps/
Dbase-notmetreq.conf29 class netif
228 class netif
Dsmall-base.conf29 class netif
229 class netif
Dbase-metreq.conf29 class netif
229 class netif
/external/selinux/libsepol/tests/policies/test-linker/
Dsmall-base.conf29 class netif
229 class netif
/external/selinux/libsepol/src/
Dmodule_to_cil.c2567 struct ocontext *netif; in ocontext_selinux_netif_to_cil() local
2569 for (netif = netifs; netif != NULL; netif = netif->next) { in ocontext_selinux_netif_to_cil()
2570 cil_printf("(netifcon %s ", netif->u.name); in ocontext_selinux_netif_to_cil()
2571 context_to_cil(pdb, &netif->context[0]); in ocontext_selinux_netif_to_cil()
2574 context_to_cil(pdb, &netif->context[1]); in ocontext_selinux_netif_to_cil()
/external/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf19 class netif
65 sid netif
219 class netif
1453 allow kernel_t netif_type:netif rawip_send;
1454 allow kernel_t netif_type:netif rawip_recv;
1457 allow kernel_t netif_t:netif rawip_send;
1458 allow kernel_t netif_type:netif { tcp_send tcp_recv };
1513 allow kernel_t netif_type:netif *;
1654 sid netif system_u:object_r:netif_t:s0
/external/selinux/libsepol/cil/src/
Dcil_verify.c987 struct cil_netifcon *netif = node->data; in __cil_verify_netifcon() local
988 struct cil_context *if_ctx = netif->if_context; in __cil_verify_netifcon()
989 struct cil_context *pkt_ctx = netif->packet_context; in __cil_verify_netifcon()
/external/avahi/avahi-compat-howl/
Dunsupported.c164 AVAHI_GCC_UNUSED struct _sw_network_interface * netif, in sw_salt_register_network_interface() argument
/external/selinux/sepolgen/tests/
Dperm_map386 class netif 6
/external/selinux/sepolgen/src/share/
Dperm_map393 class netif 6
/external/selinux/sepolgen/tests/test_data/
Dhttpd.log9224 …comm="evolution" saddr=10.11.14.219 src=37722 daddr=10.11.255.15 dest=993 netif=tun0 scontext=staf…
9226 …5069 comm="vpnc" saddr=10.11.255.15 src=993 daddr=10.11.14.219 dest=37722 netif=tun0 scontext=staf…
9337 … comm="evolution" saddr=10.11.14.219 src=53306 daddr=10.11.255.15 dest=25 netif=tun0 scontext=staf…
9339 …15069 comm="vpnc" saddr=10.11.255.15 src=25 daddr=10.11.14.219 dest=53306 netif=tun0 scontext=staf…
9750 …comm="evolution" saddr=10.11.14.219 src=37722 daddr=10.11.255.15 dest=993 netif=tun0 scontext=staf…
9752 …5069 comm="vpnc" saddr=10.11.255.15 src=993 daddr=10.11.14.219 dest=37722 netif=tun0 scontext=staf…
10676 …7 daddr=127.0.0.1 dest=80 netif=lo scontext=system_u:system_r:myapache_t:s0 tcontext=system_u:obje…
10677 …6548 comm="firefox-bin" saddr=127.0.0.1 src=35667 daddr=127.0.0.1 dest=80 netif=lo scontext=system…
10678 …6548 comm="firefox-bin" saddr=127.0.0.1 src=35667 daddr=127.0.0.1 dest=80 netif=lo scontext=system…
10679 …addr=127.0.0.1 dest=35667 netif=lo scontext=system_u:system_r:myapache_t:s0 tcontext=system_u:obje…
[all …]