Deleted Added
full compact
physical.c (74001) physical.c (78410)
1/*
2 * Written by Eivind Eklund <eivind@yes.no>
3 * for Yes Interactive
4 *
5 * Copyright (C) 1998, Yes Interactive. All rights reserved.
6 *
7 * Redistribution and use in any form is permitted. Redistribution in
8 * source form should include the above copyright and this set of
9 * conditions, because large sections american law seems to have been
10 * created by a bunch of jerks on drugs that are now illegal, forcing
11 * me to include this copyright-stuff instead of placing this in the
12 * public domain. The name of of 'Yes Interactive' or 'Eivind Eklund'
13 * may not be used to endorse or promote products derived from this
14 * software without specific prior written permission.
15 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 *
1/*
2 * Written by Eivind Eklund <eivind@yes.no>
3 * for Yes Interactive
4 *
5 * Copyright (C) 1998, Yes Interactive. All rights reserved.
6 *
7 * Redistribution and use in any form is permitted. Redistribution in
8 * source form should include the above copyright and this set of
9 * conditions, because large sections american law seems to have been
10 * created by a bunch of jerks on drugs that are now illegal, forcing
11 * me to include this copyright-stuff instead of placing this in the
12 * public domain. The name of of 'Yes Interactive' or 'Eivind Eklund'
13 * may not be used to endorse or promote products derived from this
14 * software without specific prior written permission.
15 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 *
19 * $FreeBSD: head/usr.sbin/ppp/physical.c 74001 2001-03-08 23:51:50Z brian $
19 * $FreeBSD: head/usr.sbin/ppp/physical.c 78410 2001-06-18 14:59:36Z brian $
20 *
21 */
22
23#include <sys/param.h>
24#include <netinet/in.h>
25#include <netinet/in_systm.h>
26#include <netinet/ip.h>
27#include <sys/un.h>

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

753}
754
755int
756physical_IsSync(struct physical *p)
757{
758 return p->cfg.speed == 0;
759}
760
20 *
21 */
22
23#include <sys/param.h>
24#include <netinet/in.h>
25#include <netinet/in_systm.h>
26#include <netinet/ip.h>
27#include <sys/un.h>

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

753}
754
755int
756physical_IsSync(struct physical *p)
757{
758 return p->cfg.speed == 0;
759}
760
761u_short
762physical_DeviceMTU(struct physical *p)
763{
764 return p->handler ? p->handler->mtu : 0;
765}
766
761const char *physical_GetDevice(struct physical *p)
762{
763 return p->name.full;
764}
765
766void
767physical_SetDeviceList(struct physical *p, int argc, const char *const *argv)
768{

--- 323 unchanged lines hidden ---
767const char *physical_GetDevice(struct physical *p)
768{
769 return p->name.full;
770}
771
772void
773physical_SetDeviceList(struct physical *p, int argc, const char *const *argv)
774{

--- 323 unchanged lines hidden ---