Home
last modified time | relevance | path

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

/external/libpcap/
Dgencode.c2628 u_char snapblock[8]; local
2630 snapblock[0] = LLCSAP_SNAP; /* DSAP = SNAP */
2631 snapblock[1] = LLCSAP_SNAP; /* SSAP = SNAP */
2632 snapblock[2] = 0x03; /* control = UI */
2633 snapblock[3] = (orgcode >> 16); /* upper 8 bits of organization code */
2634 snapblock[4] = (orgcode >> 8); /* middle 8 bits of organization code */
2635 snapblock[5] = (orgcode >> 0); /* lower 8 bits of organization code */
2636 snapblock[6] = (ptype >> 8); /* upper 8 bits of protocol type */
2637 snapblock[7] = (ptype >> 0); /* lower 8 bits of protocol type */
2638 return gen_bcmp(OR_LINK, offset, 8, snapblock);