Structures and prototypes for Cisco's VLAN Query Protocol.
More...
Go to the source code of this file.
Structures and prototypes for Cisco's VLAN Query Protocol.
- Id:
- 857ec214c4848d08568b85a6bb3f0de1adf668c8
- Copyright
- 2007 The FreeRADIUS server project
-
2007 Alan DeKok aland.nosp@m.@dep.nosp@m.loyin.nosp@m.grad.nosp@m.ius.c.nosp@m.om
Definition in file vqp.h.
ssize_t vqp_packet_size |
( |
uint8_t const * |
data, |
|
|
size_t |
data_len |
|
) |
| |
See how big of a packet is in the buffer.
Packet is not 'const * const' because we may update data_len, if there's more data in the UDP packet than in the VMPS packet.
- Parameters
-
data | pointer to the packet buffer |
data_len | length of the packet buffer |
- Returns
- <= 0 packet is bad. >0 how much of the data is a packet (can be larger than data_len)
Definition at line 551 of file vqp.c.