def strip_llc(self, idx):
llc = {}<EOL>snap = <NUM_LIT><EOL>llc_dsap = struct.unpack('<STR_LIT:B>', self._packet[idx:idx + <NUM_LIT:1>])[<NUM_LIT:0>]<EOL>llc['<STR_LIT>'] = llc_dsap >> <NUM_LIT:1><EOL>llc['<STR_LIT>'] = llc_dsap & <NUM_LIT><EOL>idx += <NUM_LIT:1><EOL>llc_ssap = struct.unpack('<STR_LIT:B>', self._packet[idx:idx + <NUM_LIT:1>])[<NUM_LIT:0>]<EOL>llc['<STR_LIT>'] = llc_ssap >> <NUM_LIT:1><EOL>llc['<STR_LIT>'] = llc_ssap & <NUM_LIT><EOL>idx += <NUM_LIT:1><EOL>if llc_dsap == snap and llc_ssap == snap:<EOL><INDENT>llc_control = struct.unpack('<STR_LIT:B>', self._packet[idx:idx + <NUM_LIT:1>])[<NUM_LIT:0>]<EOL>llc['<STR_LIT>'] = llc_control >> <NUM_LIT:2><EOL>llc['<STR_LIT>'] = llc_control & <NUM_LIT><EOL>idx += <NUM_LIT:1><EOL>llc['<STR_LIT>'] = self._packet[idx:idx + <NUM_LIT:3>]<EOL>idx += <NUM_LIT:3><EOL>llc['<STR_LIT:type>'] = self._packet[idx:idx + <NUM_LIT:2>]<EOL>return <NUM_LIT:8>, llc<EOL><DEDENT>else:<EOL><INDENT>return <NUM_LIT:4>, llc<EOL><DEDENT>
strip(4 or 8 byte) logical link control headers
        :return: int
            number of processed bytes
        :return: dict
            llc information
        see -> http://www.wildpackets.com/resources/compendium/ethernet/frame_snap_iee8023
        ABBRVS.
        ssap: source service access point
        dsap: destination service access point
        SNAP(Subnetwork Acess Protocol)