spppcontrol.c (50476) | spppcontrol.c (78732) |
---|---|
1/* 2 * Copyright (c) 1997 Joerg Wunsch 3 * 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#ifndef lint 28static const char rcsid[] = | 1/* 2 * Copyright (c) 1997 Joerg Wunsch 3 * 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#ifndef lint 28static const char rcsid[] = |
29 "$FreeBSD: head/sbin/spppcontrol/spppcontrol.c 50476 1999-08-28 00:22:10Z peter $"; | 29 "$FreeBSD: head/sbin/spppcontrol/spppcontrol.c 78732 2001-06-24 23:04:23Z dd $"; |
30#endif /* not lint */ 31 32#include <sys/param.h> 33#include <sys/callout.h> 34#include <sys/ioctl.h> 35#include <sys/socket.h> 36 37#include <net/if.h> 38#include <net/if_var.h> 39#include <net/if_sppp.h> 40 41#include <err.h> 42#include <stdio.h> | 30#endif /* not lint */ 31 32#include <sys/param.h> 33#include <sys/callout.h> 34#include <sys/ioctl.h> 35#include <sys/socket.h> 36 37#include <net/if.h> 38#include <net/if_var.h> 39#include <net/if_sppp.h> 40 41#include <err.h> 42#include <stdio.h> |
43#include <stdlib.h> |
|
43#include <string.h> 44#include <sysexits.h> 45#include <unistd.h> 46 47static void usage(void); 48void print_vals(const char *ifname, struct spppreq *sp); 49const char *phase_name(enum ppp_phase phase); 50const char *proto_name(u_short proto); --- 191 unchanged lines hidden --- | 44#include <string.h> 45#include <sysexits.h> 46#include <unistd.h> 47 48static void usage(void); 49void print_vals(const char *ifname, struct spppreq *sp); 50const char *phase_name(enum ppp_phase phase); 51const char *proto_name(u_short proto); --- 191 unchanged lines hidden --- |