/*
* s_common.c - common utilities for Solaris PPP
*
* Copyright (c) 2000 by Sun Microsystems, Inc.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation is hereby granted, provided that the above copyright
* notice appears in all copies.
*
* SUN MAKES NO REPRESENTATION OR WARRANTIES ABOUT THE SUITABILITY OF
* THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
* ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <net/ppp_defs.h>
#include "s_common.h"
/*
* putctl4()
*
* Description:
* Create and send a 4-byte message.
*/
int
{
return (0);
}
return (1);
}
/*
* putctl8()
*
* Description:
* Create and send a 8-byte message.
*/
int
{
return (0);
}
return (1);
}
/*
* msg_byte()
*
* Description:
* Helper routine to return a specific byte off a data buffer.
*/
int
{
break;
}
}
return (-1);
}
}
/*
* sppp_create_lsmsg()
*
* Description:
* Create a PPP link status message.
*/
mblk_t *
{
return (NULL);
}
/*
* Make sure that this message is a control message, and contains
* a notification that the link has been terminated.
*/
return (mp);
}