RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Functions
if_ether.c File Reference
#include "opt_inet.h"
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/queue.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
#include <sys/socket.h>
#include <sys/syslog.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/route.h>
#include <net/netisr.h>
#include <netinet/in.h>
#include <netinet/in_var.h>
#include <netinet/if_ether.h>
Include dependency graph for if_ether.c:

Data Structures

struct  llinfo_arp
 

Macros

#define SIN(s)   ((struct sockaddr_in *)s)
 
#define SDL(s)   ((struct sockaddr_dl *)s)
 
#define rt_expire   rt_rmx.rmx_expire
 
#define la_timer   la_rt->rt_rmx.rmx_expire /* deletion time in seconds */
 

Functions

 SYSCTL_DECL (_net_link_ether)
 
 SYSCTL_NODE (_net_link_ether, PF_INET, inet, CTLFLAG_RW, 0, "")
 
 SYSCTL_INT (_net_link_ether_inet, OID_AUTO, prune_intvl, CTLFLAG_RW, &arpt_prune, 0, "")
 
 SYSCTL_INT (_net_link_ether_inet, OID_AUTO, max_age, CTLFLAG_RW, &arpt_keep, 0, "")
 
 SYSCTL_INT (_net_link_ether_inet, OID_AUTO, host_down_time, CTLFLAG_RW, &arpt_down, 0, "")
 
 SYSCTL_INT (_net_link_ether_inet, OID_AUTO, maxtries, CTLFLAG_RW, &arp_maxtries, 0, "")
 
 SYSCTL_INT (_net_link_ether_inet, OID_AUTO, useloopback, CTLFLAG_RW, &useloopback, 0, "")
 
 SYSCTL_INT (_net_link_ether_inet, OID_AUTO, proxyall, CTLFLAG_RW, &arp_proxyall, 0, "")
 
void arpintr (void)
 
int arpresolve (struct arpcom *ac, struct rtentry *rt, struct mbuf *m, struct sockaddr *dst, u_char *desten, struct rtentry *rt0)
 
 NETISR_SET (NETISR_ARP, arpintr)
 
void arp_ifinit (struct arpcom *ac, struct ifaddr *ifa)