OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
include
/
net
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:15 AM
rwxr-xr-x
📄
6lowpan.h
10.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
9p
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
Space.h
1.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
act_api.h
6.38 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
addrconf.h
12.63 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
af_ieee802154.h
1.55 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
af_rxrpc.h
2.79 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
af_unix.h
2.22 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
af_vsock.h
7.21 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ah.h
382 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
arp.h
2 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
atmclip.h
1.48 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ax25.h
15.02 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ax88796.h
998 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📁
bluetooth
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
bond_3ad.h
9.79 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
bond_alb.h
6.6 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
bond_options.h
3.92 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bonding.h
19.1 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
busy_poll.h
3.81 KB
06/16/2023 05:32:39 PM
rw-r--r--
📁
caif
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
calipso.h
2.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cfg80211-wext.h
1.95 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cfg80211.h
221.24 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
cfg802154.h
10.89 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
checksum.h
4.76 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
cipso_ipv4.h
8.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cls_cgroup.h
2.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
codel.h
5.65 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
codel_impl.h
7.98 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
codel_qdisc.h
2.9 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
compat.h
2.11 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
datalink.h
619 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
dcbevent.h
1.26 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dcbnl.h
4.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
devlink.h
13.25 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dn.h
6.88 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dn_dev.h
5.36 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dn_fib.h
3.98 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dn_neigh.h
968 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
dn_nsp.h
5.83 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dn_route.h
4.36 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dsa.h
13.94 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
dsfield.h
1.11 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dst.h
13.48 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
dst_cache.h
2.53 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dst_metadata.h
5.39 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
dst_ops.h
2 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
erspan.h
2.11 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
esp.h
877 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ethoc.h
538 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
fib_notifier.h
1.29 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fib_rules.h
4.18 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
firewire.h
636 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
flow.h
6.16 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
flow_dissector.h
7.55 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
fou.h
549 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
fq.h
2.67 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
fq_impl.h
6.9 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
garp.h
2.62 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gen_stats.h
2.34 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
genetlink.h
11.3 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
geneve.h
1.67 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gre.h
2.99 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gro_cells.h
443 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
gtp.h
633 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
gue.h
3.23 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hwbm.h
937 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
icmp.h
2.01 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ieee80211_radiotap.h
6.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ieee802154_netdev.h
10.24 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
if_inet6.h
6.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ife.h
1.06 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ila.h
498 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
inet6_connection_sock.h
976 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
inet6_hashtables.h
3.7 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
inet_common.h
1.89 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
inet_connection_sock.h
10.48 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
inet_ecn.h
6.02 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
inet_frag.h
4.51 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
inet_hashtables.h
12.91 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
inet_sock.h
8.25 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
inet_timewait_sock.h
3.82 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
inetpeer.h
3.29 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ip.h
18.51 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ip6_checksum.h
2.89 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ip6_fib.h
10.04 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ip6_route.h
7.63 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ip6_tunnel.h
4.72 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ip_fib.h
10.72 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ip_tunnels.h
13.61 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ip_vs.h
46.78 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ipcomp.h
659 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ipconfig.h
811 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ipv6.h
29.97 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ipv6_frag.h
2.54 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ipx.h
4.4 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
iucv
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
iw_handler.h
20.91 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kcm.h
4.96 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
l3mdev.h
5.86 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
lapb.h
4.75 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
lib80211.h
3.92 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
llc.h
4.41 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
llc_c_ac.h
9.31 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
llc_c_ev.h
10.68 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
llc_c_st.h
1.72 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
llc_conn.h
4.06 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
llc_if.h
2.16 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
llc_pdu.h
14.44 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
llc_s_ac.h
1.55 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
llc_s_ev.h
2.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
llc_s_st.h
947 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
llc_sap.h
1.08 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
lwtunnel.h
5.84 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mac80211.h
230.36 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
mac802154.h
15.27 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mip6.h
1.58 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mld.h
2.8 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mpls.h
932 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mpls_iptunnel.h
827 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mrp.h
3.05 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ncsi.h
1.92 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ndisc.h
13.77 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
neighbour.h
15.06 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
net_namespace.h
10.08 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
net_ratelimit.h
220 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
netevent.h
910 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📁
netfilter
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
netlabel.h
20.74 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
netlink.h
40.39 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
netns
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
netprio_cgroup.h
1.24 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
netrom.h
7.68 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
nexthop.h
865 bytes
06/16/2023 05:32:39 PM
rw-r--r--
📁
nfc
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
nl802154.h
12.09 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
nsh.h
12.31 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
p8022.h
447 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📁
phonet
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
ping.h
3.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pkt_cls.h
17.34 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
pkt_sched.h
4.05 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pptp.h
557 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
protocol.h
3.89 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
psample.h
860 bytes
06/16/2023 05:32:39 PM
rw-r--r--
📄
psnap.h
351 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
raw.h
2.07 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
rawv6.h
854 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
red.h
10.45 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
regulatory.h
10.12 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
request_sock.h
6.46 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
rose.h
7.62 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
route.h
10.02 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
rtnetlink.h
6.13 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
sch_generic.h
23.3 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
scm.h
3.5 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
sctp
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
secure_seq.h
855 bytes
06/16/2023 05:32:39 PM
rw-r--r--
📄
seg6.h
1.66 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
seg6_hmac.h
1.65 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
slhc_vj.h
6.67 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
smc.h
440 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
snmp.h
5.23 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sock.h
70.05 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
sock_reuseport.h
863 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
stp.h
383 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
strparser.h
3.75 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
switchdev.h
6.52 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
tc_act
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
tcp.h
62.88 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
tcp_states.h
1.26 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
timewait_sock.h
1.11 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
tipc.h
2.34 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
tls.h
7.12 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
transp_v6.h
2.08 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
tso.h
515 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
tun_proto.h
988 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
udp.h
12.87 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
udp_tunnel.h
5.12 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
udplite.h
3.83 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
vsock_addr.h
1.05 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
vxlan.h
10.43 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
wext.h
1.51 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
wimax.h
19.97 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
x25.h
9.43 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
x25device.h
387 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
xfrm.h
53.72 KB
06/16/2023 05:32:39 PM
rw-r--r--
Editing: slhc_vj.h
Close
#ifndef _SLHC_H #define _SLHC_H /* * Definitions for tcp compression routines. * * $Header: slcompress.h,v 1.10 89/12/31 08:53:02 van Exp $ * * Copyright (c) 1989 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documentation, * advertising materials, and other materials related to such * distribution and use acknowledge that the software was developed * by the University of California, Berkeley. The name of the * University may not be used to endorse or promote products derived * from this software without specific prior written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: * - Initial distribution. * * * modified for KA9Q Internet Software Package by * Katie Stevens (dkstevens@ucdavis.edu) * University of California, Davis * Computing Services * - 01-31-90 initial adaptation * * - Feb 1991 Bill_Simpson@um.cc.umich.edu * variable number of conversation slots * allow zero or one slots * separate routines * status display */ /* * Compressed packet format: * * The first octet contains the packet type (top 3 bits), TCP * 'push' bit, and flags that indicate which of the 4 TCP sequence * numbers have changed (bottom 5 bits). The next octet is a * conversation number that associates a saved IP/TCP header with * the compressed packet. The next two octets are the TCP checksum * from the original datagram. The next 0 to 15 octets are * sequence number changes, one change per bit set in the header * (there may be no changes and there are two special cases where * the receiver implicitly knows what changed -- see below). * * There are 5 numbers which can change (they are always inserted * in the following order): TCP urgent pointer, window, * acknowledgment, sequence number and IP ID. (The urgent pointer * is different from the others in that its value is sent, not the * change in value.) Since typical use of SLIP links is biased * toward small packets (see comments on MTU/MSS below), changes * use a variable length coding with one octet for numbers in the * range 1 - 255 and 3 octets (0, MSB, LSB) for numbers in the * range 256 - 65535 or 0. (If the change in sequence number or * ack is more than 65535, an uncompressed packet is sent.) */ /* * Packet types (must not conflict with IP protocol version) * * The top nibble of the first octet is the packet type. There are * three possible types: IP (not proto TCP or tcp with one of the * control flags set); uncompressed TCP (a normal IP/TCP packet but * with the 8-bit protocol field replaced by an 8-bit connection id -- * this type of packet syncs the sender & receiver); and compressed * TCP (described above). * * LSB of 4-bit field is TCP "PUSH" bit (a worthless anachronism) and * is logically part of the 4-bit "changes" field that follows. Top * three bits are actual packet type. For backward compatibility * and in the interest of conserving bits, numbers are chosen so the * IP protocol version number (4) which normally appears in this nibble * means "IP packet". */ #include <linux/ip.h> #include <linux/tcp.h> /* SLIP compression masks for len/vers byte */ #define SL_TYPE_IP 0x40 #define SL_TYPE_UNCOMPRESSED_TCP 0x70 #define SL_TYPE_COMPRESSED_TCP 0x80 #define SL_TYPE_ERROR 0x00 /* Bits in first octet of compressed packet */ #define NEW_C 0x40 /* flag bits for what changed in a packet */ #define NEW_I 0x20 #define NEW_S 0x08 #define NEW_A 0x04 #define NEW_W 0x02 #define NEW_U 0x01 /* reserved, special-case values of above */ #define SPECIAL_I (NEW_S|NEW_W|NEW_U) /* echoed interactive traffic */ #define SPECIAL_D (NEW_S|NEW_A|NEW_W|NEW_U) /* unidirectional data */ #define SPECIALS_MASK (NEW_S|NEW_A|NEW_W|NEW_U) #define TCP_PUSH_BIT 0x10 /* * data type and sizes conversion assumptions: * * VJ code KA9Q style generic * u_char byte_t unsigned char 8 bits * u_short int16 unsigned short 16 bits * u_int int16 unsigned short 16 bits * u_long unsigned long unsigned long 32 bits * int int32 long 32 bits */ typedef __u8 byte_t; typedef __u32 int32; /* * "state" data for each active tcp conversation on the wire. This is * basically a copy of the entire IP/TCP header from the last packet * we saw from the conversation together with a small identifier * the transmit & receive ends of the line use to locate saved header. */ struct cstate { byte_t cs_this; /* connection id number (xmit) */ bool initialized; /* true if initialized */ struct cstate *next; /* next in ring (xmit) */ struct iphdr cs_ip; /* ip/tcp hdr from most recent packet */ struct tcphdr cs_tcp; unsigned char cs_ipopt[64]; unsigned char cs_tcpopt[64]; int cs_hsize; }; #define NULLSLSTATE (struct cstate *)0 /* * all the state data for one serial line (we need one of these per line). */ struct slcompress { struct cstate *tstate; /* transmit connection states (array)*/ struct cstate *rstate; /* receive connection states (array)*/ byte_t tslot_limit; /* highest transmit slot id (0-l)*/ byte_t rslot_limit; /* highest receive slot id (0-l)*/ byte_t xmit_oldest; /* oldest xmit in ring */ byte_t xmit_current; /* most recent xmit id */ byte_t recv_current; /* most recent rcvd id */ byte_t flags; #define SLF_TOSS 0x01 /* tossing rcvd frames until id received */ int32 sls_o_nontcp; /* outbound non-TCP packets */ int32 sls_o_tcp; /* outbound TCP packets */ int32 sls_o_uncompressed; /* outbound uncompressed packets */ int32 sls_o_compressed; /* outbound compressed packets */ int32 sls_o_searches; /* searches for connection state */ int32 sls_o_misses; /* times couldn't find conn. state */ int32 sls_i_uncompressed; /* inbound uncompressed packets */ int32 sls_i_compressed; /* inbound compressed packets */ int32 sls_i_error; /* inbound error packets */ int32 sls_i_tossed; /* inbound packets tossed because of error */ int32 sls_i_runt; int32 sls_i_badcheck; }; #define NULLSLCOMPR (struct slcompress *)0 /* In slhc.c: */ struct slcompress *slhc_init(int rslots, int tslots); void slhc_free(struct slcompress *comp); int slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid); int slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize); int slhc_remember(struct slcompress *comp, unsigned char *icp, int isize); int slhc_toss(struct slcompress *comp); #endif /* _SLHC_H */