Home
last modified time | relevance | path

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

123

/external/autotest/client/bin/net/
Dnet_utils.py552 packet = self._socket.recv(ethernet.ETH_PACKET_MAX_SIZE)
553 if len(packet) >= (ethernet.ETH_PACKET_MIN_SIZE-4):
588 packet = ethernet.pack(dst_mac, src_mac, protocol, payload)
621 frame = ethernet.unpack(packet)
640 class ethernet(object): class
734 if packet_len < ethernet.HDR_LEN:
737 payload_len = packet_len - ethernet.HDR_LEN
739 frame[ethernet.FRAME_KEY_DST_MAC], \
740 frame[ethernet.FRAME_KEY_SRC_MAC], \
741 frame[ethernet.FRAME_KEY_PROTO] = \
[all …]
Dnet_utils_unittest.py980 mac_bin = net_utils.ethernet.mac_string_to_binary('00:01:02:03:04:05')
985 mac_str = net_utils.ethernet.mac_binary_to_string(
991 dst = net_utils.ethernet.mac_string_to_binary('00:01:02:03:04:05')
992 src = net_utils.ethernet.mac_string_to_binary('16:17:18:19:1A:1B')
996 self.assertEquals(net_utils.ethernet.pack(dst, src,protocol, payload),
1001 dst = net_utils.ethernet.mac_string_to_binary('00:01:02:03:04:05')
1002 src = net_utils.ethernet.mac_string_to_binary('16:17:18:19:1A:1B')
1005 frame = net_utils.ethernet.pack(dst, src, protocol, payload)
1006 uframe = net_utils.ethernet.unpack(frame)
1007 self.assertEquals(uframe[net_utils.ethernet.FRAME_KEY_DST_MAC], dst)
[all …]
/external/autotest/client/site_tests/network_BasicProfileProperties/
Dcontrol14 an ethernet service that is a favorite, because ethernet is always a favored
/external/autotest/client/deps/lansim/src/py/
Dhost.py87 eth_resp = dpkt.ethernet.Ethernet(
90 type = dpkt.ethernet.ETH_TYPE_ARP,
149 hw_pkt = dpkt.ethernet.Ethernet(
152 type = dpkt.ethernet.ETH_TYPE_IP,
Dsimulator.py262 pkt = dpkt.ethernet.Ethernet(raw[4:])
267 callback(dpkt.ethernet.Ethernet(raw[4:]))
/external/autotest/client/site_tests/network_EthernetStressPlug/
Dcontrol9 This test fails if device fails to obtain dhcp through ethernet.
19 Stress-tests simulating plugging/unplugging the ethernet dongle.
/external/autotest/client/site_tests/network_FirewallHolePunch/
Dnetwork_FirewallHolePunch.py89 ethernet = interface.Interface.get_connected_ethernet_interface()
90 self.ip_address = ethernet.ipv4_address
/external/iproute2/examples/
DREADME.cbq22 # filter for building smart ethernet shapers. All CBQ parameters are
62 # 10Mbit - REAL ethernet card bandwidth
96 # both ethernet card. For example let's build shaper for our linux box like:
/external/autotest/server/site_tests/cellular_ChromeEndToEnd/
Dcontrol.ethernetPreferred15 Tests that the device prefers ethernet over cellular network.
/external/autotest/server/site_tests/network_EthCapsServer/
Dcontrol20 This test checks ethernet capabilities of a device. See CRITERIA for more
/external/autotest/server/site_tests/network_StressServoEthernetPlug/
Dcontrol18 This test uses servo to repeatedly plug and unplug the ethernet device,
/external/iproute2/doc/actions/
Dmirred-usage3 This is the basic stuff. Idea borrowed from the way ethernet switches
5 ethernet switch is that you can use u32 classifier to select a
25 dev ("port" in ethernet switch/bridging terminology)
/external/dnsmasq/
Ddnsmasq.conf.example154 # Always allocate the host with ethernet address 11:22:33:44:55:66
162 # Always give the host with ethernet address 11:22:33:44:55:66
166 # Give a host with ethernet address 11:22:33:44:55:66 or
168 # that these two ethernet interfaces will never be in use at the same
191 # Never offer DHCP service to a machine whose ethernet
195 # Ignore any client-id presented by the machine with ethernet
202 # the machine with ethernet address 11:22:33:44:55:66
206 # any machine with ethernet address starting 11:22:33:
228 # on the ethernet-address/IP pairs found there just as if they had
/external/autotest/client/profilers/powertop/src/
DMakefile19 sata.o xrandr.o ethernet.o cpufreqstats.o usb.o urbnum.o intelcstates.o
DChangelog46 * add suggestion to disable Wake-On-Lan for unused ethernet
/external/autotest/client/site_tests/hardware_StorageFio/
Dlogin6 ; gmail over wired ethernet. This data is an average collected over 3 boots.
/external/autotest/client/site_tests/platform_CryptohomeFio/
Dlogin6 ; gmail over wired ethernet. This data is an average collected over 3 boots.
/external/iptables/etc/
Dethertypes7 # http://www.iana.org/assignments/ethernet-numbers
/external/syslinux/doc/
Dpxelinux.txt174 hardware ethernet <ethernet address>;
214 hardware ethernet <ethernet address>;
248 hardware ethernet <ethernet address>;
/external/syslinux/txt/
Dpxelinux.txt241 hardware ethernet <ethernet address>;
285 hardware ethernet <ethernet address>;
322 hardware ethernet <ethernet address>;
/external/autotest/server/site_tests/sequences/
Dcontrol.power68 # 1. Make the test run over wifi instead of ethernet
/external/autotest/client/profilers/powertop/src/po/
Dnl.po119 #: ethernet.c:131
193 #: ethernet.c:128
/external/webrtc/webrtc/modules/
Dmodules_unittests.isolate122 '<(DEPTH)/resources/video_coding/frame-ethernet-ii.pcap',
/external/webrtc/webrtc/base/
Dnetwork_unittest.cc690 Network ethernet("eth0", "Ethernet", IPAddress(0x12345600U), 24, in TEST_F() local
692 EXPECT_EQ(ADAPTER_TYPE_ETHERNET, ethernet.type()); in TEST_F()
/external/syslinux/core/lwip/
DUPGRADING74 * Added an additional option LWIP_ETHERNET to support ethernet without ARP

123