Deleted Added
full compact
ndp.c (81366) ndp.c (100650)
1/* $FreeBSD: head/usr.sbin/ndp/ndp.c 81366 2001-08-09 19:40:35Z sumikawa $ */
1/* $FreeBSD: head/usr.sbin/ndp/ndp.c 100650 2002-07-25 01:48:19Z jmallett $ */
2/* $KAME: ndp.c,v 1.65 2001/05/08 04:36:34 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 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

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

117#define NI_WITHSCOPEID 0
118#endif
119
120/* packing rule for routing socket */
121#define ROUNDUP(a) \
122 ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
123#define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
124
2/* $KAME: ndp.c,v 1.65 2001/05/08 04:36:34 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 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

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

117#define NI_WITHSCOPEID 0
118#endif
119
120/* packing rule for routing socket */
121#define ROUNDUP(a) \
122 ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
123#define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
124
125static int pid;
125static pid_t pid;
126static int cflag;
127static int nflag;
128static int tflag;
129static int32_t thiszone; /* time difference with gmt */
130static int s = -1;
131static int repeat = 0;
132
133char ntop_buf[INET6_ADDRSTRLEN]; /* inet_ntop() */

--- 1395 unchanged lines hidden ---
126static int cflag;
127static int nflag;
128static int tflag;
129static int32_t thiszone; /* time difference with gmt */
130static int s = -1;
131static int repeat = 0;
132
133char ntop_buf[INET6_ADDRSTRLEN]; /* inet_ntop() */

--- 1395 unchanged lines hidden ---