[ixp1200] Packet processing in the IXP board.
Yitzchak M. Gottlieb
zuki at CS.Princeton.EDU
Tue Feb 18 10:11:18 EST 2003
On Mon, 17 Feb 2003, Jagannathan Iyer Venkatesan wrote:
>
> I am planning to do some operations at the router on the packets flowing
> through the IXP router (simple read oprations such as reading the source
> and destination IP addresses and keeping a table of last "k" such
> addresses, and possibly altering some fields of interest in the IP
> packet). Can someone tell me how to go about doing the same ?
>
>
Jagan,
You might want to start looking at the files in Libixprouter/ue/src,
specifically, rcv.uc and vrp.uc. There is a hook in rcv.uc which will be
called every time a packet (really a 64 byte chunk of a packet) is processed.
You ought to be able to write whatever function you want to fit in this hook.
Zuki
--
Yitzchak Gottlieb
zuki at CS.Princeton.EDU
More information about the ixp1200
mailing list