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

/external/libpcap/
H A Dgencode.c3368 u_char snapblock[8]; local
3370 snapblock[0] = LLCSAP_SNAP; /* DSAP = SNAP */
3371 snapblock[1] = LLCSAP_SNAP; /* SSAP = SNAP */
3372 snapblock[2] = 0x03; /* control = UI */
3373 snapblock[3] = (orgcode >> 16); /* upper 8 bits of organization code */
3374 snapblock[4] = (orgcode >> 8); /* middle 8 bits of organization code */
3375 snapblock[5] = (orgcode >> 0); /* lower 8 bits of organization code */
3376 snapblock[6] = (ptype >> 8); /* upper 8 bits of protocol type */
3377 snapblock[7] = (ptype >> 0); /* lower 8 bits of protocol type */
3378 return gen_bcmp(OR_LLC, 0, 8, snapblock);
[all...]

Completed in 123 milliseconds