Most of Click implements global tables as "information" elements, which are elements with no inputs or outputs. Some examples include AlignmentInfo, ScheduleInfo, and so forth. You can pass the name of an information element as a configuration argument ot your other elements, so they can access its methods directly.
Eddie 科进 舒 wrote: > hi, > As click is constructed with elements and then my questions how > does click handle global things? > For example,I am trying to keep a table,which is used to record > every IP's information,like how many times it appears,which ports it connects > and so on.but as I can just do something in an element,I don't know how to > keep a record of many packets? > waiting for your help,thank you! > > > Yours sincerely, > > Aron > > > ___________________________________________________________ > 好玩贺卡等你发,邮箱贺卡全新上线! > http://card.mail.cn.yahoo.com/ > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
