ipnameinfo.hh

来自「Click is a modular router toolkit. To us」· HH 代码 · 共 59 行

HH
59
字号
#ifndef CLICK_IPNAMEINFO_HH#define CLICK_IPNAMEINFO_HH#include <click/element.hh>CLICK_DECLS/*=cIPNameInfo()=s ipstores name information about IP packets=dContains IP-related name mappings, such as the names for common IP protocols.This element should not be used in configurations.IPNameInfo installs the following name mappings by default:B<IP protocols>: dccp, icmp, igmp, ipip, payload, sctp, tcp, tcpudp, transp,udp.B<TCP/UDP ports>: auth, bootpc, bootps, chargen, daytime, discard, dns,domain, echo, finger, ftp, ftp-data, https, imap3, imaps, irc, netbios-dgm,netbios-ns, netbios-ssn, nntp, ntp, pop3, pop3s, rip, route, smtp, snmp,snmp-trap, ssh, sunrpc, telnet, tftp, www.B<ICMP types>: echo, echo-reply, inforeq, inforeq-reply, maskreq,maskreq-reply, parameterproblem, redirect, routeradvert, routersolicit,sourcequench, timeexceeded, timestamp, timestamp-reply, unreachable.B<ICMP unreachable codes>: filterprohibited, host, hostprecedence,hostprohibited, hostunknown, isolated, needfrag, net, netprohibited,netunknown, port, precedencecutoff, protocol, srcroutefail, toshost, tosnet.B<ICMP redirect codes>: host, net, toshost, tosnet.B<ICMP timeexceeded codes>: reassembly, transit.B<ICMP parameterproblem codes>: erroratptr, length, missingopt.At user level, IPNameInfo additionally reads /etc/services and /etc/protocolsto populate the IP protocol and TCP/UDP port databases.*/class IPNameInfo : public Element { public:    const char *class_name() const		{ return "IPNameInfo"; }    static void static_initialize();    static void static_cleanup();};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?