Home
last modified time | relevance | path

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

/external/libpcap/
Dgencode.c3447 u_char snapblock[8]; local
3449 snapblock[0] = LLCSAP_SNAP; /* DSAP = SNAP */
3450 snapblock[1] = LLCSAP_SNAP; /* SSAP = SNAP */
3451 snapblock[2] = 0x03; /* control = UI */
3452 snapblock[3] = (orgcode >> 16); /* upper 8 bits of organization code */
3453 snapblock[4] = (orgcode >> 8); /* middle 8 bits of organization code */
3454 snapblock[5] = (orgcode >> 0); /* lower 8 bits of organization code */
3455 snapblock[6] = (ptype >> 8); /* upper 8 bits of protocol type */
3456 snapblock[7] = (ptype >> 0); /* lower 8 bits of protocol type */
3457 return gen_bcmp(OR_MACPL, 0, 8, snapblock);