[BACK]Return to ip_input.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/ip_input.c between version 1.301 and 1.302

version 1.301, 2012/06/22 14:54:35 version 1.302, 2012/06/25 15:28:39
Line 139  __KERNEL_RCSID(0, "$NetBSD$");
Line 139  __KERNEL_RCSID(0, "$NetBSD$");
 #ifdef MROUTING  #ifdef MROUTING
 #include <netinet/ip_mroute.h>  #include <netinet/ip_mroute.h>
 #endif  #endif
 #include <netinet/rfc6056.h>  #include <netinet/portalgo.h>
   
 #ifdef FAST_IPSEC  #ifdef FAST_IPSEC
 #include <netipsec/ipsec.h>  #include <netipsec/ipsec.h>
Line 1889  sysctl_net_inet_ip_setup(struct sysctllo
Line 1889  sysctl_net_inet_ip_setup(struct sysctllo
                        CTL_EOL);                         CTL_EOL);
   
         /* anonportalgo RFC6056 subtree */          /* anonportalgo RFC6056 subtree */
         const struct sysctlnode *rfc6056_node;          const struct sysctlnode *portalgo_node;
         sysctl_createv(clog, 0, NULL, &rfc6056_node,          sysctl_createv(clog, 0, NULL, &portalgo_node,
                        CTLFLAG_PERMANENT,                         CTLFLAG_PERMANENT,
                        CTLTYPE_NODE, "anonportalgo",                         CTLTYPE_NODE, "anonportalgo",
                        SYSCTL_DESCR("Anonymous Port Algorithm Selection (RFC 6056)"),                         SYSCTL_DESCR("Anonymous Port Algorithm Selection (RFC 6056)"),
                        NULL, 0, NULL, 0,                         NULL, 0, NULL, 0,
                        CTL_NET, PF_INET, IPPROTO_IP, CTL_CREATE, CTL_EOL);                         CTL_NET, PF_INET, IPPROTO_IP, CTL_CREATE, CTL_EOL);
         sysctl_createv(clog, 0, &rfc6056_node, NULL,          sysctl_createv(clog, 0, &portalgo_node, NULL,
                        CTLFLAG_PERMANENT,                         CTLFLAG_PERMANENT,
                        CTLTYPE_STRING, "available",                         CTLTYPE_STRING, "available",
                        SYSCTL_DESCR("available algorithms"),                         SYSCTL_DESCR("available algorithms"),
                        sysctl_rfc6056_available, 0, NULL, RFC6056_MAXLEN,                         sysctl_portalgo_available, 0, NULL, PORTALGO_MAXLEN,
                        CTL_CREATE, CTL_EOL);                         CTL_CREATE, CTL_EOL);
         sysctl_createv(clog, 0, &rfc6056_node, NULL,          sysctl_createv(clog, 0, &portalgo_node, NULL,
                        CTLFLAG_PERMANENT|CTLFLAG_READWRITE,                         CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
                        CTLTYPE_STRING, "selected",                         CTLTYPE_STRING, "selected",
                        SYSCTL_DESCR("selected algorithm"),                         SYSCTL_DESCR("selected algorithm"),
                        sysctl_rfc6056_selected, 0, NULL, RFC6056_MAXLEN,                         sysctl_portalgo_selected, 0, NULL, PORTALGO_MAXLEN,
                        CTL_CREATE, CTL_EOL);                         CTL_CREATE, CTL_EOL);
 }  }
   

Legend:
Removed from v.1.301  
changed lines
  Added in v.1.302

CVSweb <webmaster@jp.NetBSD.org>