Searched refs:eth_hdr (Results 1 – 3 of 3) sorted by relevance
/system/bt/btif/src/ |
D | btif_pan.c | 445 tETH_HDR eth_hdr; in btpan_tap_send() local 446 memcpy(ð_hdr.h_dest, dst, ETH_ADDR_LEN); in btpan_tap_send() 447 memcpy(ð_hdr.h_src, src, ETH_ADDR_LEN); in btpan_tap_send() 448 eth_hdr.h_proto = htons(proto); in btpan_tap_send() 450 memcpy(packet, ð_hdr, sizeof(tETH_HDR)); in btpan_tap_send() 603 static int forward_bnep(tETH_HDR* eth_hdr, BT_HDR *hdr) { in forward_bnep() argument 604 int broadcast = eth_hdr->h_dest[0] & 1; in forward_bnep() 611 … (broadcast || memcmp(btpan_cb.conns[i].eth_addr, eth_hdr->h_dest, sizeof(BD_ADDR)) == 0 in forward_bnep() 612 || memcmp(btpan_cb.conns[i].peer, eth_hdr->h_dest, sizeof(BD_ADDR)) == 0)) { in forward_bnep() 613 …int result = PAN_WriteBuf(handle, eth_hdr->h_dest, eth_hdr->h_src, ntohs(eth_hdr->h_proto), hdr, 0… in forward_bnep()
|
/system/bt/btif/include/ |
D | btif_pan_internal.h | 58 typedef struct eth_hdr struct
|
/system/connectivity/shill/wifi/ |
D | wake_on_wifi.cc | 227 struct ethhdr eth_hdr; in CreateIPV4PatternAndMask() member 249 struct ethhdr eth_hdr; in CreateIPV6PatternAndMask() member
|