Home
last modified time | relevance | path

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

/external/libpcap/
Dgencode.c3528 u_char snapblock[8]; in gen_snap() local
3530 snapblock[0] = LLCSAP_SNAP; /* DSAP = SNAP */ in gen_snap()
3531 snapblock[1] = LLCSAP_SNAP; /* SSAP = SNAP */ in gen_snap()
3532 snapblock[2] = 0x03; /* control = UI */ in gen_snap()
3533 snapblock[3] = (orgcode >> 16); /* upper 8 bits of organization code */ in gen_snap()
3534 snapblock[4] = (orgcode >> 8); /* middle 8 bits of organization code */ in gen_snap()
3535 snapblock[5] = (orgcode >> 0); /* lower 8 bits of organization code */ in gen_snap()
3536 snapblock[6] = (ptype >> 8); /* upper 8 bits of protocol type */ in gen_snap()
3537 snapblock[7] = (ptype >> 0); /* lower 8 bits of protocol type */ in gen_snap()
3538 return gen_bcmp(cstate, OR_LLC, 0, 8, snapblock); in gen_snap()