Deleted Added
full compact
in6_pcb.c (174717) in6_pcb.c (175162)
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

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

56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * SUCH DAMAGE.
59 *
60 * @(#)in_pcb.c 8.2 (Berkeley) 1/4/94
61 */
62
63#include <sys/cdefs.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

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

56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * SUCH DAMAGE.
59 *
60 * @(#)in_pcb.c 8.2 (Berkeley) 1/4/94
61 */
62
63#include <sys/cdefs.h>
64__FBSDID("$FreeBSD: head/sys/netinet6/in6_pcb.c 174717 2007-12-17 17:20:57Z rwatson $");
64__FBSDID("$FreeBSD: head/sys/netinet6/in6_pcb.c 175162 2008-01-08 19:08:58Z obrien $");
65
66#include "opt_inet.h"
67#include "opt_inet6.h"
68#include "opt_ipsec.h"
69#include "opt_mac.h"
70
71#include <sys/param.h>
72#include <sys/systm.h>

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

566 * cmds that are uninteresting (e.g., no error in the map).
567 * Call the protocol specific routine (if any) to report
568 * any errors for each matching socket.
569 */
570void
571in6_pcbnotify(struct inpcbinfo *pcbinfo, struct sockaddr *dst,
572 u_int fport_arg, const struct sockaddr *src, u_int lport_arg,
573 int cmd, void *cmdarg,
65
66#include "opt_inet.h"
67#include "opt_inet6.h"
68#include "opt_ipsec.h"
69#include "opt_mac.h"
70
71#include <sys/param.h>
72#include <sys/systm.h>

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

566 * cmds that are uninteresting (e.g., no error in the map).
567 * Call the protocol specific routine (if any) to report
568 * any errors for each matching socket.
569 */
570void
571in6_pcbnotify(struct inpcbinfo *pcbinfo, struct sockaddr *dst,
572 u_int fport_arg, const struct sockaddr *src, u_int lport_arg,
573 int cmd, void *cmdarg,
574 struct inpcb *(*notify) __P((struct inpcb *, int)))
574 struct inpcb *(*notify)(struct inpcb *, int))
575{
576 struct inpcbhead *head;
577 struct inpcb *inp, *ninp;
578 struct sockaddr_in6 sa6_src, *sa6_dst;
579 u_short fport = fport_arg, lport = lport_arg;
580 u_int32_t flowinfo;
581 int errno;
582

--- 332 unchanged lines hidden ---
575{
576 struct inpcbhead *head;
577 struct inpcb *inp, *ninp;
578 struct sockaddr_in6 sa6_src, *sa6_dst;
579 u_short fport = fport_arg, lport = lport_arg;
580 u_int32_t flowinfo;
581 int errno;
582

--- 332 unchanged lines hidden ---