raw_ip6.c (46b01b2c385329823c4553ba2d05cb7a3ea10df9) | raw_ip6.c (a786f679811e7e2732a81269c8f6ee92e87c8ff9) |
---|---|
1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 54 unchanged lines hidden (view full) --- 63__FBSDID("$FreeBSD$"); 64 65#include "opt_ipsec.h" 66#include "opt_inet6.h" 67 68#include <sys/param.h> 69#include <sys/errno.h> 70#include <sys/jail.h> | 1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 54 unchanged lines hidden (view full) --- 63__FBSDID("$FreeBSD$"); 64 65#include "opt_ipsec.h" 66#include "opt_inet6.h" 67 68#include <sys/param.h> 69#include <sys/errno.h> 70#include <sys/jail.h> |
71#include <sys/kernel.h> |
|
71#include <sys/lock.h> 72#include <sys/malloc.h> 73#include <sys/mbuf.h> 74#include <sys/priv.h> 75#include <sys/proc.h> 76#include <sys/protosw.h> 77#include <sys/signalvar.h> 78#include <sys/socket.h> --- 40 unchanged lines hidden (view full) --- 119VNET_DECLARE(struct inpcbhead, ripcb); 120VNET_DECLARE(struct inpcbinfo, ripcbinfo); 121#define V_ripcb VNET(ripcb) 122#define V_ripcbinfo VNET(ripcbinfo) 123 124extern u_long rip_sendspace; 125extern u_long rip_recvspace; 126 | 72#include <sys/lock.h> 73#include <sys/malloc.h> 74#include <sys/mbuf.h> 75#include <sys/priv.h> 76#include <sys/proc.h> 77#include <sys/protosw.h> 78#include <sys/signalvar.h> 79#include <sys/socket.h> --- 40 unchanged lines hidden (view full) --- 120VNET_DECLARE(struct inpcbhead, ripcb); 121VNET_DECLARE(struct inpcbinfo, ripcbinfo); 122#define V_ripcb VNET(ripcb) 123#define V_ripcbinfo VNET(ripcbinfo) 124 125extern u_long rip_sendspace; 126extern u_long rip_recvspace; 127 |
127VNET_DEFINE(struct rip6stat, rip6stat); | 128VNET_PCPUSTAT_DEFINE(struct rip6stat, rip6stat); 129VNET_PCPUSTAT_SYSINIT(rip6stat); |
128 | 130 |
131#ifdef VIMAGE 132VNET_PCPUSTAT_SYSUNINIT(rip6stat); 133#endif /* VIMAGE */ 134 |
|
129/* 130 * Hooks for multicast routing. They all default to NULL, so leave them not 131 * initialized and rely on BSS being set to 0. 132 */ 133 134/* 135 * The socket used to communicate with the multicast routing daemon. 136 */ --- 797 unchanged lines hidden --- | 135/* 136 * Hooks for multicast routing. They all default to NULL, so leave them not 137 * initialized and rely on BSS being set to 0. 138 */ 139 140/* 141 * The socket used to communicate with the multicast routing daemon. 142 */ --- 797 unchanged lines hidden --- |