![]() |
|
Data Structures | |
| struct | l2_packet_data |
Functions | |
| int | l2_packet_get_own_addr (struct l2_packet_data *l2, u8 *addr) |
| Get own layer 2 address. | |
| int | l2_packet_send (struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, const u8 *buf, size_t len) |
| Send a packet. | |
| l2_packet_data * | l2_packet_init (const char *ifname, const u8 *own_addr, unsigned short protocol, void(*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) |
| Initialize l2_packet interface. | |
| void | l2_packet_deinit (struct l2_packet_data *l2) |
| Deinitialize l2_packet interface. | |
| int | l2_packet_get_ip_addr (struct l2_packet_data *l2, char *buf, size_t len) |
| Get the current IP address from the interface. | |
| void | l2_packet_notify_auth_start (struct l2_packet_data *l2) |
| Notify l2_packet about start of authentication. | |
|
|
Deinitialize l2_packet interface.
|
|
||||||||||||||||
|
Get the current IP address from the interface.
|
|
||||||||||||
|
Get own layer 2 address.
|
|
||||||||||||||||||||||||||||
|
Initialize l2_packet interface.
|
|
|
Notify l2_packet about start of authentication.
|
|
||||||||||||||||||||||||
|
Send a packet.
|
1.4.6
| © 2005 Devicescape Software, Inc. All Rights Reserved. |