Home
last modified time | relevance | path

Searched refs:eth_hdr (Results 1 – 2 of 2) sorted by relevance

/system/bt/btif/src/
Dbtif_pan.cc416 tETH_HDR eth_hdr; in btpan_tap_send() local
417 eth_hdr.h_dest = dst; in btpan_tap_send()
418 eth_hdr.h_src = src; in btpan_tap_send()
419 eth_hdr.h_proto = htons(proto); in btpan_tap_send()
421 memcpy(packet, &eth_hdr, sizeof(tETH_HDR)); in btpan_tap_send()
552 static int forward_bnep(tETH_HDR* eth_hdr, BT_HDR* hdr) { in forward_bnep() argument
553 int broadcast = eth_hdr->h_dest.address[0] & 1; in forward_bnep()
559 (broadcast || btpan_cb.conns[i].eth_addr == eth_hdr->h_dest || in forward_bnep()
560 btpan_cb.conns[i].peer == eth_hdr->h_dest)) { in forward_bnep()
561 int result = PAN_WriteBuf(handle, eth_hdr->h_dest, eth_hdr->h_src, in forward_bnep()
[all …]
/system/bt/btif/include/
Dbtif_pan_internal.h58 typedef struct eth_hdr { struct