IP header question



First of all, sorry for being off topic here, but I know there are many
people in this list that know the network stack inside and out.

I have (hopefully) a couple very easy questions:

When the term 'header stripping' is used as a packet is passed up the
stack, what really happens? I don't understand how if a layers header is
'stripped off' as it goes up, it will know where to be sent to as it
goes back down.

Does 'stripping' mean simply reading it on the way up (but not discarding)?

If so, when does the src/dst info for layer-3 and layer-2 get reversed,
on the way up, or the way back down?

If not, how does each layer know what destination information to insert
into the headers for the trip back to the source?

Thanks very much for any insight.

Steve
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: IP header question
    ... people in this list that know the network stack inside and out. ... When the term 'header stripping' is used as a packet is passed up the ... No. Stripping means reading it and discarding it once the determination of where the data should go has been made. ...
    (freebsd-current)
  • Re: OT: How to block/ filter undesirables?
    ... attempt to deal with "Re:" in all possible languages, ... refrain from adding the colon. ... followed by a colon in the "Subject: " header anyway, ... even have to worry about OE stripping them out.. ...
    (rec.crafts.metalworking)
  • Re: OT:Re: time when Canada has whooped the US
    ... Outlook Express stripped the OT: ... I just took a look at your header for this message. ... Outlook Express while not stripping subject header contents. ... Proud Owner of Lord Valve, PMG, John Wheaton, Claude Lucas, Doktor Freud, ...
    (alt.guitar.amps)
  • Re: [opensuse] opensuse..opensuse..opensuse..opensuse..opensuse..opensuse..
    ... re-write aheader to whatever you wish. ... nor about the stripping of stripping signatures. ... Nice to see now that your lines are automatically stripped in this response. ...
    (SuSE)