Home
last modified time | relevance | path

Searched refs:src_mac (Results 1 – 6 of 6) sorted by relevance

/external/autotest/client/bin/net/
Dnet_utils.py574 def send_to(self, dst_mac, src_mac, protocol, payload): argument
588 packet = ethernet.pack(dst_mac, src_mac, protocol, payload)
594 def recv_from(self, dst_mac, src_mac, protocol): argument
622 if ((src_mac is None or frame['src'] == src_mac) and
Dnet_utils_unittest.py1223 src_mac = '\xFF\xEE\xDD\xCC\xBB\xAA'
1225 s.send.expect_call(dst_mac+src_mac+'%d'%protocol+packet)
1226 sock.send_to(dst_mac, src_mac, protocol, packet)
1270 src_mac = net_utils.ethernet.mac_string_to_binary('16:17:18:19:1A:1B')
1279 self.assertEquals(sock.recv_from(None, src_mac, None), None)
1283 s.recv_val = (struct.pack("!6s6sH", dst_mac, src_mac, protocol) +
1296 self.assertEquals(sock.recv_from(dst_mac, src_mac, None), None)
1300 self.assertEquals(sock.recv_from(dst_mac, src_mac, protocol), None)
1303 s.recv_val = struct.pack("!6s6sH", dst_mac, src_mac, protocol) + data
1306 self.assertEquals(sock.recv_from(dst_mac, src_mac, None), frame)
[all …]
/external/syslinux/gpxe/src/drivers/net/
Dipoib.c201 const struct ipoib_mac *src_mac = ll_source; in ipoib_push() local
207 src = ipoib_cache_peer ( src_mac ); in ipoib_push()
Dvia-velocity.h1466 u8 src_mac[ETH_ALEN]; member
1481 u8 src_mac[6]; member
/external/tcpdump/
Dprint-sflow.c168 uint8_t src_mac[8]; member
/external/kernel-headers/original/uapi/rdma/
Dib_user_verbs.h856 __u8 src_mac[6]; member