in6_proto.c (79106) | in6_proto.c (95023) |
---|---|
1/* $FreeBSD: head/sys/netinet6/in6_proto.c 79106 2001-07-02 21:02:09Z brooks $ */ | 1/* $FreeBSD: head/sys/netinet6/in6_proto.c 95023 2002-04-19 04:46:24Z suz $ */ |
2/* $KAME: in6_proto.c,v 1.91 2001/05/27 13:28:35 itojun Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 109 unchanged lines hidden (view full) --- 119#ifdef INET6 120#include <netinet6/esp6.h> 121#endif 122#endif 123#include <netinet6/ipcomp.h> 124#ifdef INET6 125#include <netinet6/ipcomp6.h> 126#endif | 2/* $KAME: in6_proto.c,v 1.91 2001/05/27 13:28:35 itojun Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 109 unchanged lines hidden (view full) --- 119#ifdef INET6 120#include <netinet6/esp6.h> 121#endif 122#endif 123#include <netinet6/ipcomp.h> 124#ifdef INET6 125#include <netinet6/ipcomp6.h> 126#endif |
127#endif /*IPSEC*/ | 127#endif /* IPSEC */ |
128 129#include <netinet6/ip6protosw.h> 130 131#include <net/net_osdep.h> 132 133/* 134 * TCP/IP protocol family: IP6, ICMP6, UDP, TCP. 135 */ --- 83 unchanged lines hidden (view full) --- 219#endif /* IPSEC */ 220#ifdef INET 221{ SOCK_RAW, &inet6domain, IPPROTO_IPV4, PR_ATOMIC|PR_ADDR|PR_LASTHDR, 222 encap6_input, rip6_output, 0, rip6_ctloutput, 223 0, 224 encap_init, 0, 0, 0, 225 &rip6_usrreqs 226}, | 128 129#include <netinet6/ip6protosw.h> 130 131#include <net/net_osdep.h> 132 133/* 134 * TCP/IP protocol family: IP6, ICMP6, UDP, TCP. 135 */ --- 83 unchanged lines hidden (view full) --- 219#endif /* IPSEC */ 220#ifdef INET 221{ SOCK_RAW, &inet6domain, IPPROTO_IPV4, PR_ATOMIC|PR_ADDR|PR_LASTHDR, 222 encap6_input, rip6_output, 0, rip6_ctloutput, 223 0, 224 encap_init, 0, 0, 0, 225 &rip6_usrreqs 226}, |
227#endif /*INET*/ | 227#endif /* INET */ |
228{ SOCK_RAW, &inet6domain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR|PR_LASTHDR, 229 encap6_input, rip6_output, 0, rip6_ctloutput, 230 0, 231 encap_init, 0, 0, 0, 232 &rip6_usrreqs 233}, 234{ SOCK_RAW, &inet6domain, IPPROTO_PIM, PR_ATOMIC|PR_ADDR|PR_LASTHDR, 235 pim6_input, rip6_output, 0, rip6_ctloutput, --- 216 unchanged lines hidden --- | 228{ SOCK_RAW, &inet6domain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR|PR_LASTHDR, 229 encap6_input, rip6_output, 0, rip6_ctloutput, 230 0, 231 encap_init, 0, 0, 0, 232 &rip6_usrreqs 233}, 234{ SOCK_RAW, &inet6domain, IPPROTO_PIM, PR_ATOMIC|PR_ADDR|PR_LASTHDR, 235 pim6_input, rip6_output, 0, rip6_ctloutput, --- 216 unchanged lines hidden --- |