ether_addr
ether_hostton(const char *hostname, struct ether_addr *e)
ether_line(const char *line, struct ether_addr *e, char *hostname)
static char * _ether_aton(const char *, struct ether_addr *);
ether_ntoa(const struct ether_addr *e)
_ether_aton(const char *s, struct ether_addr *e)
struct ether_addr *
static struct ether_addr n;
ether_ntohost(char *hostname, struct ether_addr *e)
struct ether_addr try;
if (ether_hostton(name, (struct ether_addr *)a) == 0) {
struct ether_addr *ea;
if ((ea = (struct ether_addr *)LLADDR(sdl)) != NULL)
(struct ether_addr *)LLADDR(sdl)));
struct ether_addr hw_address;
struct ether_addr hw_address;
sizeof(struct ether_addr));
sizeof(struct ether_addr)) != 0) {
sizeof(struct ether_addr));
static struct ether_addr bcast_mac;
struct ether_addr ether_src, ether_dst;
struct ether_addr *hw_address, struct in_addr *ciaddr, struct in_addr
ssize_t build_packet(uint8_t, char *, uint32_t, struct ether_addr *,
struct ether_addr *ea;
bcopy(ea, &ifba.ifba_dst, sizeof(struct ether_addr));
struct ether_addr *ea;
memcpy(&ifba.ifba_dst, ea, sizeof(struct ether_addr));
struct ether_addr *ea;
memcpy(&ifba.ifba_dst, ea, sizeof(struct ether_addr));
struct ether_addr *ea, *dea;
struct ether_addr *ea, *dea = NULL;
ether_ntoa((struct ether_addr *)lladdr), bprio);
ether_ntoa((struct ether_addr *)lladdr), bprio,
struct ether_addr *ea;
struct ether_addr *ea;
bcopy(ea, &ifba.ifba_dst, sizeof(struct ether_addr));
struct ether_addr *ea;
struct ether_addr ea;
ether_ntoa((struct ether_addr*)nr->nr_bssid));
ether_ntoa((struct ether_addr*)nr->nr_macaddr));
(struct ether_addr *)LLADDR(sdl)));
ether_ntoa((struct ether_addr*)lp->actor_mac));
ether_ntoa((struct ether_addr*)lp->partner_mac),
ether_ntoa((struct ether_addr*)
ether_ntoa((struct ether_addr*)
struct ether_addr *eap, eabuf;
if (strcmp(ether_ntoa((struct ether_addr *)LLADDR(sdl)),
return (ether_ntoa((struct ether_addr *)lla));
sizeof(struct ether_addr));
sizeof(struct ether_addr)) != 0) {
sizeof(struct ether_addr));
struct ether_addr hw_address;
struct ether_addr hw_address;
memcpy(&cei.hw_address, &iface->hw_address, sizeof(struct ether_addr));
struct ether_addr nd_opt_source_link_addr;
struct ether_addr hw_address;
struct ether_addr hw_address;
struct ether_addr hw_address;
u_int8_t ether_addr[6];
ether_sprintf(netbbinfo.ether_addr));
bcopy(netbbinfo.ether_addr, desc->myea, sizeof desc->myea);
bcopy(netbbinfo.ether_addr, desc->myea, sizeof desc->myea);
ether_addr = &_ether_addr;
ether_addr = ether_aton(addr);
if (ether_addr == NULL)
ether_addr->ether_addr_octet[0],
ether_addr->ether_addr_octet[1],
ether_addr->ether_addr_octet[2],
ether_addr->ether_addr_octet[3],
ether_addr->ether_addr_octet[4],
ether_addr->ether_addr_octet[5]);
ether_ntoa(ether_addr), host ? host : addr, force);
netbbinfop->ether_addr[i] =
ether_addr->ether_addr_octet[i];
struct ether_addr *ether_addr, _ether_addr;
struct ether_addr addr;
struct ether_addr wi_mcast[16];
void ti_add_mcast(struct ti_softc *, struct ether_addr *);
void ti_del_mcast(struct ti_softc *, struct ether_addr *);
ti_add_mcast(struct ti_softc *sc, struct ether_addr *addr)
ti_del_mcast(struct ti_softc *sc, struct ether_addr *addr)
struct ether_addr mc_addr;
struct ether_addr sc_enaddr;
bridge_rtupdate(struct bridge_softc *sc, struct ether_addr *ea,
bridge_rtlookup(struct ifnet *brifp, struct ether_addr *ea, struct mbuf *m)
bridge_hash(struct bridge_softc *sc, struct ether_addr *addr)
bridge_rtdaddr(struct bridge_softc *sc, struct ether_addr *ea)
bridge_update(struct ifnet *ifp, struct ether_addr *ea, int delete)
int bridge_rtdaddr(struct bridge_softc *, struct ether_addr *);
u_int32_t bridge_hash(struct bridge_softc *, struct ether_addr *);
bcopy(&req->ifbr_src, &n->brl_src, sizeof(struct ether_addr));
bcopy(&req->ifbr_dst, &n->brl_dst, sizeof(struct ether_addr));
pool_init(&bpe_endpoint_pool, sizeof(struct ether_addr), 0,
struct ether_addr *endpoint;
0, (struct ether_addr *)ceh->ether_dhost);
const struct ether_addr *endpoint;
endpoint = (struct ether_addr *)LLADDR(sdl);
0, 0, (struct ether_addr *)beh->ether_shost);
struct ether_addr sc_group;
struct ether_addr *ea = a, *eb = b;
struct ether_addr *ea = port;
struct ether_addr *endpoint;
struct ether_addr *endpoint = port;
struct ether_addr *endpoint = port;
(struct ether_addr *)&eh->ether_shost,
struct ether_addr *dst;
dst = (struct ether_addr *)&eh->ether_dhost[0];
struct ether_addr *dst, *src;
dst = (struct ether_addr *)&eh.ether_dhost[0];
src = (struct ether_addr *)&eh.ether_shost[0];
struct ether_addr ifba_dst; /* destination addr */
struct ether_addr brla_sha;
struct ether_addr brla_tha;
struct ether_addr ifbr_src; /* source mac */
struct ether_addr ifbr_dst; /* destination mac */
struct ether_addr ifbva_dst; /* destination addr */
struct ether_addr brl_src; /* source mac address */
struct ether_addr brl_dst; /* destination mac address */
struct ether_addr brt_addr; /* dst addr */
void bridge_update(struct ifnet *, struct ether_addr *, int);
struct ether_addr *, struct ifnet *, int, u_int8_t, struct mbuf *);
struct ether_addr *, struct mbuf *);
const struct ether_addr *ea)
uint16_t vp, uint16_t vs, const struct ether_addr *ea)
uint16_t vp, uint16_t vs, const struct ether_addr *ea, unsigned int type)
const struct ether_addr *ea)
uint16_t, uint16_t, const struct ether_addr *, unsigned int);
uint16_t, const struct ether_addr *);
uint16_t, uint16_t, const struct ether_addr *);
uint16_t, const struct ether_addr *);
ether_addr_to_e64(const struct ether_addr *ea)
ether_e64_to_addr(struct ether_addr *ea, uint64_t e64)
laddr = ether_addr_to_e64((struct ether_addr *)sfrm->sfrm_addr);
faddr = ether_addr_to_e64((struct ether_addr *)sfrm->sfrm_addr);
faddr = ether_addr_to_e64((struct ether_addr *)sfrm->sfrm_addr);
laddr = ether_addr_to_e64((struct ether_addr *)ac->ac_enaddr);
ether_e64_to_addr((struct ether_addr *)eh->ether_dhost, faddr);
ether_e64_to_addr((struct ether_addr *)eh->ether_shost, laddr);
ether_e64_to_addr((struct ether_addr *)sfrm->sfrm_addr, addr);
src = ether_addr_to_e64((struct ether_addr *)eh->ether_shost);
ether_e64_to_addr((struct ether_addr *)sfrm.sfrm_addr,
dst = ether_addr_to_e64((struct ether_addr *)eh->ether_dhost);
self = ether_addr_to_e64((struct ether_addr *)ac->ac_enaddr);
(struct ether_addr *)eh->ether_shost);
0, 0, (struct ether_addr *)eh->ether_shost);
0, (struct ether_addr *)eh->ether_dhost);
struct ether_addr sc_dest; /* [K] hardware address of concentrator */
ctx.src = ether_addr_to_e64((struct ether_addr *)eh->ether_shost);
dst = ether_addr_to_e64((struct ether_addr *)eh->ether_dhost);
struct ether_addr vr_arp_sha;
struct ether_addr vr_arp_tha;
0, (struct ether_addr *)eh->ether_dhost);
(struct ether_addr *)eh->ether_shost);
(struct ether_addr *)ni->ni_macaddr, 0);
(struct ether_addr *)ni->ni_macaddr, 1);
uint64_t ether_addr_to_e64(const struct ether_addr *);
void ether_e64_to_addr(struct ether_addr *, uint64_t);
char *ether_ntoa(const struct ether_addr *);
struct ether_addr *ether_aton(const char *);
int ether_ntohost(char *, struct ether_addr *);
int ether_hostton(const char *, struct ether_addr *);
int ether_line(const char *, struct ether_addr *, char *);
uint64_t dst = ether_addr_to_e64((struct ether_addr *)ena);
ether_addr_to_e64((struct ether_addr *)sc->sc_ac.ac_enaddr)));
struct ether_addr ea, *eap;
ether_ntoa((struct ether_addr *)LLADDR(sdl)));
return (ether_ntoa((struct ether_addr *)lla));
struct ether_addr *ea;
int wake(const char *ether_addr, const char *iface);
int get_ether(const char *, struct ether_addr *);
int send_frame(int, const struct ether_addr *);
wake(const char *ether_addr, const char *iface)
do_wakeup(ether_addr, ifap->ifa_name, bpf);
do_wakeup(ether_addr, iface, bpf);
struct ether_addr macaddr;
get_ether(const char *text, struct ether_addr *addr)
struct ether_addr *eaddr;
send_frame(int bpf, const struct ether_addr *addr)
hlen = sizeof(struct ether_addr);
if (ether_hostton(val, (struct ether_addr *)e) == 0) {
#define etheraddr_string(_s) ether_ntoa((struct ether_addr*)_s)
struct ether_addr *ea;
struct ether_addr *ea;
(mac) ? ether_ntoa((struct ether_addr *)mac) : "wildcard");
ether_ntoa((struct ether_addr *)&msg_msap->saddr));
struct ether_addr *ea;
ea = (struct ether_addr *)base;
fprintf(scratch, "%s", ether_ntoa((struct ether_addr *)abuf));
struct ether_addr saddr;
struct ether_addr daddr;
static const struct ether_addr naddr;
struct ether_addr *saddr = NULL;
struct ether_addr *daddr = (struct ether_addr *)&naddr;
daddr = (struct ether_addr *)CMSG_DATA(cmsg);
saddr = (struct ether_addr *)sfrm.sfrm_addr;
struct ether_addr msap_saddr;
struct ether_addr msap_daddr;
memcpy(eh->ether_dhost, pppoe->ether_addr, ETHER_ADDR_LEN);
u_char ether_addr[ETHER_ADDR_LEN];
u_char ether_addr[ETHER_ADDR_LEN];
(session)->listener_index))->ether_addr
memcpy(sdl.sdl_data + len, _this->ether_addr, ETHER_ADDR_LEN);
int session_id, u_char *ether_addr)
memcpy(_this->ether_addr, ether_addr, ETHER_ADDR_LEN);
memcpy(_this->ehdr.ether_dhost, ether_addr, ETHER_ADDR_LEN);
ETHER_FIRST_INT(_this->ether_addr), 0, 3),
ETHER_LAST_SHORT(_this->ether_addr), 0, 1),
memcpy(_this->ether_addr,
insns[10].k = ETHER_FIRST_INT(_this->ether_addr);
insns[12].k = ETHER_LAST_SHORT(_this->ether_addr);
_this->tun_name, _this->ether_addr[0], _this->ether_addr[1],
_this->ether_addr[2], _this->ether_addr[3], _this->ether_addr[4],
_this->ether_addr[5]);
_this->ether_addr[0], _this->ether_addr[1],
_this->ether_addr[2], _this->ether_addr[3],
_this->ether_addr[4], _this->ether_addr[5]);
if (memcmp(ether->ether_shost, _this->ether_addr,
if (memcmp(((pppoe_session *)hl->item)->ether_addr,
memcpy(ether.ether_shost, _this->ether_addr, ETHER_ADDR_LEN);
"%02x:%02x:%02x:%02x:%02x:%02x", _this->ether_addr[0],
_this->ether_addr[1], _this->ether_addr[2],
_this->ether_addr[3], _this->ether_addr[4],
_this->ether_addr[5]);
struct ether_addr hw_addr;
struct ether_addr nd_opt_source_link_addr_hw_addr;
struct ether_addr hw_addr;
struct ether_addr *ea;
ea = (struct ether_addr *) &ep->ether_shost;
struct ether_addr ea;
struct ether_addr e;
(struct ether_addr *)ep) > 0) {
(struct ether_addr *)el->addr) > 0) {
struct ether_addr ether;
priv_ether_ntohost(char *name, size_t name_len, struct ether_addr *e)
struct ether_addr;
size_t priv_ether_ntohost(char *, size_t, struct ether_addr *);
struct ether_addr *ea;
__func__, ether_ntoa((struct ether_addr *)