RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions | Variables
if_ethersubr.c File Reference
#include "opt_atalk.h"
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipx.h"
#include "opt_bdg.h"
#include "opt_mac.h"
#include "opt_netgraph.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <sys/syslog.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <net/netisr.h>
#include <net/route.h>
#include <net/if_llc.h>
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/ethernet.h>
Include dependency graph for if_ethersubr.c:

Macros

#define senderr(e)   do { error = (e); goto bad;} while (0)
 

Functions

int ether_output (struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, struct rtentry *rt0)
 
void ether_input (struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
 
char * ether_sprintf (const u_char *ap)
 
void ether_ifattach (struct ifnet *ifp)
 
int ether_addmulti (struct ifreq *ifr, struct arpcom *ac)
 
int ether_delmulti (struct ifreq *ifr, struct arpcom *ac)
 
 SYSCTL_DECL (_net_link)
 
 SYSCTL_NODE (_net_link, IFT_ETHER, ether, CTLFLAG_RW, 0, "Ethernet")
 
uint32_t ether_crc32_le (const uint8_t *buf, size_t len)
 
uint32_t ether_crc32_be (const uint8_t *buf, size_t len)
 
int ether_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
 

Variables

u_char etherbroadcastaddr [6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }