[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 bits room in packet header for private marking ?



Frank,

> Does anyone know if there is a 2bit room for private
> marking in packet header ?  I am afraid using the
> packet_t will confuse protocols' (such as TCP, UDP)
> normal work (seems not likely because it also has many
> other types like RTP which is based on UDP, but this
> even increases my confusion -- can a TCP sink work
> well when it receives a packet whose packettype field
> is replaced with other strings ?).  Thanks.

You could just add another field to the packet header for your purpose. I
think that this would be better than shoehorning bits into other fields
where they don't really belong. 

Sean.

-----
Sean Murphy,			Email: [email protected]
Teltec Ireland,			Phone: +353-1-7045080
DCU, Dublin 9,			Fax:   +353-1-7045092
Ireland.