Deleted Added
full compact
keysock.c (252028) keysock.c (253088)
1/* $FreeBSD: head/sys/netipsec/keysock.c 252028 2013-06-20 11:44:16Z ae $ */
1/* $FreeBSD: head/sys/netipsec/keysock.c 253088 2013-07-09 10:08:13Z ae $ */
2/* $KAME: keysock.c,v 1.25 2001/08/13 20:07:41 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

--- 62 unchanged lines hidden (view full) ---

72};
73static VNET_DEFINE(struct key_cb, key_cb);
74#define V_key_cb VNET(key_cb)
75
76static struct sockaddr key_src = { 2, PF_KEY, };
77
78static int key_sendup0 __P((struct rawcb *, struct mbuf *, int));
79
2/* $KAME: keysock.c,v 1.25 2001/08/13 20:07:41 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

--- 62 unchanged lines hidden (view full) ---

72};
73static VNET_DEFINE(struct key_cb, key_cb);
74#define V_key_cb VNET(key_cb)
75
76static struct sockaddr key_src = { 2, PF_KEY, };
77
78static int key_sendup0 __P((struct rawcb *, struct mbuf *, int));
79
80VNET_DEFINE(struct pfkeystat, pfkeystat);
80VNET_PCPUSTAT_DEFINE(struct pfkeystat, pfkeystat);
81VNET_PCPUSTAT_SYSINIT(pfkeystat);
81
82
83#ifdef VIMAGE
84VNET_PCPUSTAT_SYSUNINIT(pfkeystat);
85#endif /* VIMAGE */
86
82/*
83 * key_output()
84 */
85int
86key_output(struct mbuf *m, struct socket *so)
87{
88 struct sadb_msg *msg;
89 int len, error = 0;

--- 493 unchanged lines hidden ---
87/*
88 * key_output()
89 */
90int
91key_output(struct mbuf *m, struct socket *so)
92{
93 struct sadb_msg *msg;
94 int len, error = 0;

--- 493 unchanged lines hidden ---