Searched refs:ether_addr (Results 1 - 25 of 81) sorted by relevance

1234

/freebsd-current/sys/dev/etherswitch/ar40xx/
H A Dar40xx_hw.h37 struct ether_addr *ea);
39 struct ether_addr *ea);
/freebsd-current/lib/libc/net/
H A Dether_addr.c67 ether_line(const char *l, struct ether_addr *e, char *hostname)
85 struct ether_addr *
86 ether_aton_r(const char *a, struct ether_addr *e)
103 struct ether_addr *
106 static struct ether_addr e;
115 ether_ntoa_r(const struct ether_addr *n, char *a)
127 ether_ntoa(const struct ether_addr *n)
138 ether_ntohost(char *hostname, const struct ether_addr *e)
142 struct ether_addr local_ether;
188 ether_hostton(const char *hostname, struct ether_addr *
[all...]
/freebsd-current/lib/libc/tests/net/
H A Dether_test.c39 static const struct ether_addr ether_line_addr = {
46 struct ether_addr e;
62 struct ether_addr e;
74 struct ether_addr e;
82 static const struct ether_addr ether_aton_addr = {
89 struct ether_addr e, *ep;
103 struct ether_addr e, *ep;
112 struct ether_addr *ep;
123 struct ether_addr *ep;
130 static const struct ether_addr ether_ntoa_add
[all...]
/freebsd-current/sbin/ipf/iplang/
H A Diplang.h11 struct ether_addr if_eaddr;
25 struct ether_addr arp_eaddr;
/freebsd-current/usr.sbin/wake/
H A Dwake.c60 static int get_ether(char const *text, struct ether_addr *addr);
61 static int send_wakeup(int bpf, struct ether_addr const *addr);
76 struct ether_addr macaddr;
135 get_ether(char const *text, struct ether_addr *addr)
137 struct ether_addr *paddr;
152 send_wakeup(int bpf, struct ether_addr const *addr)
/freebsd-current/tools/regression/ethernet/ethermulti/
H A Dethermulti.c118 struct ether_addr ea;
135 struct ether_addr *nep = ether_aton("01:80:DE:FA:CA:7E");
146 dlp->sdl_alen = sizeof(struct ether_addr);
147 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr));
189 dlp->sdl_alen = sizeof(struct ether_addr);
190 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr));
/freebsd-current/sys/net/
H A Dethernet.h70 struct ether_addr { struct
450 void ether_gen_addr(struct ifnet *ifp, struct ether_addr *hwaddr);
451 void ether_gen_addr_byname(const char *nameunit, struct ether_addr *hwaddr);
471 struct ether_addr *ether_aton(const char *);
472 struct ether_addr *ether_aton_r(const char *, struct ether_addr *);
473 int ether_hostton(const char *, struct ether_addr *);
474 int ether_line(const char *, struct ether_addr *, char *);
475 char *ether_ntoa(const struct ether_addr *);
476 char *ether_ntoa_r(const struct ether_addr *, cha
[all...]
H A Ddebugnet_int.h62 struct ether_addr dp_gw_mac;
87 int debugnet_ether_output(struct mbuf *, struct ifnet *, struct ether_addr,
/freebsd-current/tools/tools/ether_reflect/
H A Dether_reflect.c107 ether_aton_r(user_addr, (struct ether_addr *)&tmp);
140 ether_ntoa((const struct ether_addr*)
143 ether_ntoa((const struct ether_addr*)
/freebsd-current/contrib/netbsd-tests/lib/libc/net/
H A Dt_ether_aton.c92 struct ether_addr dest;
99 struct ether_addr *r;
/freebsd-current/libexec/bootpd/
H A Dlookup.c38 static struct ether_addr ea;
/freebsd-current/sbin/ifconfig/
H A Daf_link.c56 print_ether(const struct ether_addr *addr, const char *prefix)
91 print_ether((struct ether_addr *)LLADDR(sdl), "ether");
157 print_ether((const struct ether_addr *)&ifr.ifr_addr.sa_data, "hwaddr");
181 print_ether((struct ether_addr *)NLA_DATA(hwaddr), "hwaddr");
/freebsd-current/usr.sbin/bhyve/
H A Dnet_utils.c47 struct ether_addr *ea;
/freebsd-current/contrib/tcpdump/lbl/
H A Dos-sunos4.h70 struct ether_addr;
72 struct ether_addr *ether_aton(const char *);
/freebsd-current/contrib/libpcap/lbl/
H A Dos-sunos4.h69 struct ether_addr;
71 struct ether_addr *ether_aton(const char *);
/freebsd-current/sys/dev/etherswitch/arswitch/
H A Darswitchvar.h98 struct ether_addr *sa);
100 const struct ether_addr *sa);
/freebsd-current/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet_locl.h147 struct ether_addr;
/freebsd-current/sys/netgraph/
H A Dng_ether_echo.c109 struct ether_addr tmpaddr;
/freebsd-current/tools/tools/net80211/wlanstats/
H A Dmain.c105 ether_ntoa((const struct ether_addr*) macaddr));
107 fprintf(fd, "%s:\n", ether_ntoa((const struct ether_addr*) macaddr));
168 struct ether_addr *ea;
/freebsd-current/usr.sbin/bluetooth/btpand/
H A Dbnep.c371 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
393 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
460 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
482 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
550 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
571 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
/freebsd-current/usr.sbin/arp/
H A Darp.c85 static int get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr);
306 struct ether_addr *ea;
358 ea = (struct ether_addr *)LLADDR(&sdl_m);
367 struct ether_addr *ea1 = ether_aton(eaddr);
625 ether_ntoa((struct ether_addr *)LLADDR(sdl)));
731 " arp -s hostname ether_addr [temp] [reject | blackhole] [pub [only]]",
732 " arp -S hostname ether_addr [temp] [reject | blackhole] [pub [only]]",
825 get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr)
/freebsd-current/tools/tools/ath/athratestats/
H A Dmain.c225 rate_node_stats(struct ath_ratestats *r, struct ether_addr *e)
280 fetch_and_print_stats(struct ath_ratestats *r, struct ether_addr *e,
309 struct ether_addr *e;
/freebsd-current/sys/dev/ixgbe/
H A Dif_sriov.c130 return (bcmp(mac, vf->ether_addr, ETHER_ADDR_LEN) != 0);
362 if (ixgbe_validate_mac_addr(vf->ether_addr) == 0) {
363 ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr,
375 bcopy(vf->ether_addr, &resp[1], ETHER_ADDR_LEN);
399 bcopy(mac, vf->ether_addr, ETHER_ADDR_LEN);
401 ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr, vf->pool,
764 if (ixgbe_validate_mac_addr(vf->ether_addr) == 0) {
766 vf->ether_addr, vf->pool, true);
871 bcopy(mac, vf->ether_addr, ETHER_ADDR_LEN);
/freebsd-current/sys/dev/etherswitch/
H A Detherswitch.h54 struct ether_addr switch_macaddr; /* Switch MAC address */
/freebsd-current/sbin/ipf/ipsend/
H A Darp.c83 if (!(ether_hostton(hp->h_name, (struct ether_addr *)ether)))

Completed in 195 milliseconds

1234