vjcomp.c (38559) | vjcomp.c (43313) |
---|---|
1/* 2 * Input/Output VJ Compressed packets 3 * 4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5 * 6 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 7 * 8 * Redistribution and use in source and binary forms are permitted 9 * provided that the above copyright notice and this paragraph are 10 * duplicated in all such forms and that any documentation, 11 * advertising materials, and other materials related to such 12 * distribution and use acknowledge that the software was developed 13 * by the Internet Initiative Japan, Inc. The name of the 14 * IIJ may not be used to endorse or promote products derived 15 * from this software without specific prior written permission. 16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 * | 1/* 2 * Input/Output VJ Compressed packets 3 * 4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5 * 6 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 7 * 8 * Redistribution and use in source and binary forms are permitted 9 * provided that the above copyright notice and this paragraph are 10 * duplicated in all such forms and that any documentation, 11 * advertising materials, and other materials related to such 12 * distribution and use acknowledge that the software was developed 13 * by the Internet Initiative Japan, Inc. The name of the 14 * IIJ may not be used to endorse or promote products derived 15 * from this software without specific prior written permission. 16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 * |
20 * $Id: vjcomp.c,v 1.22 1998/08/07 18:42:51 brian Exp $ | 20 * $Id: vjcomp.c,v 1.23 1998/08/26 18:07:57 brian Exp $ |
21 * 22 * TODO: 23 */ | 21 * 22 * TODO: 23 */ |
24#include <sys/types.h> | 24#include <sys/param.h> |
25#include <netinet/in.h> 26#include <netinet/in_systm.h> 27#include <netinet/ip.h> 28#include <sys/un.h> 29 30#include <stdio.h> 31#include <string.h> 32 --- 10 unchanged lines hidden (view full) --- 43#include "throughput.h" 44#include "ipcp.h" 45#include "lcp.h" 46#include "ccp.h" 47#include "link.h" 48#include "filter.h" 49#include "descriptor.h" 50#include "mp.h" | 25#include <netinet/in.h> 26#include <netinet/in_systm.h> 27#include <netinet/ip.h> 28#include <sys/un.h> 29 30#include <stdio.h> 31#include <string.h> 32 --- 10 unchanged lines hidden (view full) --- 43#include "throughput.h" 44#include "ipcp.h" 45#include "lcp.h" 46#include "ccp.h" 47#include "link.h" 48#include "filter.h" 49#include "descriptor.h" 50#include "mp.h" |
51#ifndef NORADIUS 52#include "radius.h" 53#endif |
|
51#include "bundle.h" 52#include "vjcomp.h" 53 54#define MAX_VJHEADER 16 /* Maximum size of compressed header */ 55 56void 57vj_SendFrame(struct link *l, struct mbuf * bp, struct bundle *bundle) 58{ --- 119 unchanged lines hidden --- | 54#include "bundle.h" 55#include "vjcomp.h" 56 57#define MAX_VJHEADER 16 /* Maximum size of compressed header */ 58 59void 60vj_SendFrame(struct link *l, struct mbuf * bp, struct bundle *bundle) 61{ --- 119 unchanged lines hidden --- |