Home
last modified time | relevance | path

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

/external/u-boot/net/
Dcdp.c45 static const uchar cdp_snap_hdr[8] = { variable
131 memcpy((uchar *)pkt, cdp_snap_hdr, sizeof(cdp_snap_hdr)); in cdp_send_trigger()
132 pkt += sizeof(cdp_snap_hdr); in cdp_send_trigger()
211 len = ETHER_HDR_SIZE + sizeof(cdp_snap_hdr); in cdp_send_trigger()
247 if (len < sizeof(cdp_snap_hdr) + 4) in cdp_receive()
251 if (memcmp(pkt, cdp_snap_hdr, sizeof(cdp_snap_hdr)) != 0) in cdp_receive()
254 pkt += sizeof(cdp_snap_hdr); in cdp_receive()
255 len -= sizeof(cdp_snap_hdr); in cdp_receive()