2 votes 2 votes closed with the note: Query yet to be resolved. Referring standard resources and will update the answer for the same. In a DLL layer, bit stuffing is used in transferring data. If the sent data after bit stuffing is 001111101101011111001111 and the flag is 01111110, then what will be the data after de-stuffing. Computer Networks bit-stuffing computer-networks data-link-layer + – VikramRB asked Jan 12, 2019 • closed Jan 14, 2019 by VikramRB VikramRB 910 views comment Share Follow See all 7 Comments See all 7 7 Comments reply OneZero commented Jan 12, 2019 reply Follow Share 0011111110101111101111 ? 0 votes 0 votes VikramRB commented Jan 12, 2019 reply Follow Share Yes but how did you get that? Also if in case if flag itself is a data i.e 01111110, how would it look after bit stuffing? 0 votes 0 votes OneZero commented Jan 12, 2019 reply Follow Share in case flag is 01111110 we have to insert 1 after 5 consecutive 1's while sending data. so remove 0's after 5 consecutive 1's. bit stuffing is used to differentiate flag from data bits, so NEVER bit stuff flags bucause it beats the purpose of bit stuffing. 0 votes 0 votes balchandar reddy san commented Jan 12, 2019 reply Follow Share you insert 1 or 0? 0 votes 0 votes Rishabh Agrawal commented Jan 12, 2019 reply Follow Share We will insert 0 else it will become flag 0 votes 0 votes VikramRB commented Jan 13, 2019 reply Follow Share @OneZero What would we do in case where flag doesn't have 5 consecutive `1` pattern? 0 votes 0 votes Rajesh Panwar commented Jan 25, 2019 reply Follow Share is it a standard method of adding 0 after every occurrences of 1s? 0 votes 0 votes Please log in or register to add a comment.