weAut_01 / weAutSys    R 2.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Data Structures | Defines | Functions | Variables
include/uip/uip_arp.h File Reference

Overview

Definitions for the ARP module.

Adam Dunkels' original copyright notice
  Copyright (c) 2001-2003, Adam Dunkels. All rights reserved.
(contained in this file) still holds. For modifications:


  Copyright © 2011 Albrecht Weinert, Bochum

Author:
Adam Dunkels adam@.nosp@m.dunk.nosp@m.els.c.nosp@m.om
Albrecht Weinert   <a-weinert.de>
Revision:
2
Date:
2017-01-25 17:49:03 +0100 (Mi, 25 Jan 2017)

Data Structures

struct  arp_entry
 An ARP entry. More...
struct  arp_hdr
 The ARP header. More...
struct  ethip_hdr
 The IP header. More...
struct  uip_eth_hdr
 The Ethernet header. More...

Defines

#define ARP_HWTYPE_ETH
 ARP packet hardware Ethernet (the only supported one)
#define ARP_REPLY
 packet type answer "I have IP.. and MAC.."
#define ARP_REQUEST
 packet type request "which MAC has IP...?"
#define UIP_ETHTYPE_ARP
 Type ARP (in little endian)
#define UIP_ETHTYPE_IP
 Type IP (V.4) (in little endian)
#define UIP_ETHTYPE_IP6
 Type IPV6 (in little endian)

Functions

void uip_arp_arpin (void)
 ARP processing for incoming ARP packets.
void uip_arp_init (void)
 Initialise the ARP module.
void uip_arp_ipin (void)
 ARP processing for incoming IP packets.
void uip_arp_out (void)
 The ARP output prepare function.
void uip_arp_timer (void)
 Periodic ARP processing function.

Variables

struct arp_entry arp_table []
 The ARP table.
struct uip_eth_addr broadcast_ethaddr
 The broadcast MAC.
const uint16_t broadcast_ipaddr []
 The broadcast IP address.