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

123

/freebsd-10-stable/lib/libc/net/
H A Dether_addr.c69 ether_line(const char *l, struct ether_addr *e, char *hostname)
87 struct ether_addr *
88 ether_aton_r(const char *a, struct ether_addr *e)
105 struct ether_addr *
108 static struct ether_addr e;
117 ether_ntoa_r(const struct ether_addr *n, char *a)
129 ether_ntoa(const struct ether_addr *n)
140 ether_ntohost(char *hostname, const struct ether_addr *e)
144 struct ether_addr local_ether;
190 ether_hostton(const char *hostname, struct ether_addr *
[all...]
/freebsd-10-stable/sys/net/
H A Dif_tapvar.h58 u_int8_t ether_addr[ETHER_ADDR_LEN]; /* ether addr of the remote side */ member in struct:tap_softc
H A Dethernet.h69 struct ether_addr { struct
401 struct ether_addr *ether_aton(const char *);
402 struct ether_addr *ether_aton_r(const char *, struct ether_addr *);
403 int ether_hostton(const char *, struct ether_addr *);
404 int ether_line(const char *, struct ether_addr *, char *);
405 char *ether_ntoa(const struct ether_addr *);
406 char *ether_ntoa_r(const struct ether_addr *, char *);
407 int ether_ntohost(char *, const struct ether_addr *);
/freebsd-10-stable/sys/dev/ex/
H A Dif_ex_pccard.c97 ex_pccard_get_silicom_mac(device_t dev, u_char *ether_addr) argument
99 pccard_cis_scan(dev, ex_pccard_silicom_cb, ether_addr);
173 u_char ether_addr[ETHER_ADDR_LEN]; local
192 ex_get_address(sc, ether_addr);
193 if (!ex_pccard_enet_ok(ether_addr))
194 pccard_get_ether(dev, ether_addr);
195 if (!ex_pccard_enet_ok(ether_addr))
196 ex_pccard_get_silicom_mac(dev, ether_addr);
197 if (!ex_pccard_enet_ok(ether_addr)) {
202 bcopy(ether_addr, s
[all...]
/freebsd-10-stable/lib/libc/tests/net/
H A Dether_test.c41 static const struct ether_addr ether_line_addr = {
48 struct ether_addr e;
64 struct ether_addr e;
76 struct ether_addr e;
84 static const struct ether_addr ether_aton_addr = {
91 struct ether_addr e, *ep;
105 struct ether_addr e, *ep;
114 struct ether_addr *ep;
125 struct ether_addr *ep;
132 static const struct ether_addr ether_ntoa_add
[all...]
/freebsd-10-stable/contrib/ipfilter/iplang/
H A Diplang.h12 struct ether_addr if_eaddr;
26 struct ether_addr arp_eaddr;
/freebsd-10-stable/tools/regression/ethernet/ethermulti/
H A Dethermulti.c121 struct ether_addr ea;
138 struct ether_addr *nep = ether_aton("01:80:DE:FA:CA:7E");
149 dlp->sdl_alen = sizeof(struct ether_addr);
150 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr));
192 dlp->sdl_alen = sizeof(struct ether_addr);
193 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr));
/freebsd-10-stable/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-10-stable/tools/tools/ether_reflect/
H A Dether_reflect.c109 ether_aton_r(user_addr, (struct ether_addr *)&tmp);
142 ether_ntoa((const struct ether_addr*)
145 ether_ntoa((const struct ether_addr*)
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/net/
H A Dt_ether_aton.c92 struct ether_addr dest;
99 struct ether_addr *r;
/freebsd-10-stable/libexec/bootpd/
H A Dlookup.c48 static struct ether_addr ea;
/freebsd-10-stable/contrib/libpcap/lbl/
H A Dos-sunos4.h72 struct ether_addr;
74 struct ether_addr *ether_aton(const char *);
/freebsd-10-stable/contrib/tcpdump/lbl/
H A Dos-sunos4.h72 struct ether_addr;
74 struct ether_addr *ether_aton(const char *);
/freebsd-10-stable/sbin/ifconfig/
H A Daf_link.c67 ether_ntoa((struct ether_addr *)LLADDR(sdl)));
105 printf("\thwaddr %s\n", ether_ntoa((const struct ether_addr *)
H A Difbridge.c222 struct ether_addr ea;
278 ether_ntoa((struct ether_addr *)lladdr), pri, ht, fd);
284 ether_ntoa((struct ether_addr *)lladdr), bprio,
468 struct ether_addr *ea;
489 struct ether_addr *ea;
/freebsd-10-stable/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet_locl.h147 struct ether_addr;
/freebsd-10-stable/sys/netgraph/
H A Dng_ether_echo.c111 struct ether_addr tmpaddr;
/freebsd-10-stable/contrib/libpcap/
H A Dnametoaddr.c480 struct ether_addr { struct
484 extern int ether_hostton(const char *, struct ether_addr *);
495 if (ether_hostton(name, (struct ether_addr *)a) == 0) {
/freebsd-10-stable/tools/tools/net80211/wlanstats/
H A Dmain.c104 ether_ntoa((const struct ether_addr*) macaddr));
106 fprintf(fd, "%s:\n", ether_ntoa((const struct ether_addr*) macaddr));
160 struct ether_addr *ea;
/freebsd-10-stable/usr.sbin/bluetooth/btpand/
H A Dbnep.c369 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
391 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
458 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
480 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
548 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
569 ether_ntoa((struct ether_addr *)chan->raddr), rsp);
/freebsd-10-stable/usr.sbin/arp/
H A Darp.c96 static int get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr);
306 struct ether_addr *ea;
362 ea = (struct ether_addr *)LLADDR(&sdl_m);
371 struct ether_addr *ea1 = ether_aton(eaddr);
601 ether_ntoa((struct ether_addr *)LLADDR(sdl)));
695 " arp -s hostname ether_addr [temp] [reject | blackhole] [pub [only]]",
696 " arp -S hostname ether_addr [temp] [reject | blackhole] [pub [only]]",
794 get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr)
/freebsd-10-stable/tools/tools/ath/athratestats/
H A Dmain.c221 rate_node_stats(struct ath_ratestats *r, struct ether_addr *e)
276 fetch_and_print_stats(struct ath_ratestats *r, struct ether_addr *e,
305 struct ether_addr *e;
/freebsd-10-stable/contrib/ipfilter/ipsend/
H A Darp.c94 if (!(ether_hostton(hp->h_name, (struct ether_addr *)ether)))
/freebsd-10-stable/sys/dev/ixgbe/
H A Dif_sriov.c124 return (bcmp(mac, vf->ether_addr, ETHER_ADDR_LEN) != 0);
357 if (ixgbe_validate_mac_addr(vf->ether_addr) == 0) {
358 ixgbe_set_rar(&adapter->hw, vf->rar_index, vf->ether_addr,
370 bcopy(vf->ether_addr, &resp[1], ETHER_ADDR_LEN);
394 bcopy(mac, vf->ether_addr, ETHER_ADDR_LEN);
396 ixgbe_set_rar(&adapter->hw, vf->rar_index, vf->ether_addr, vf->pool,
767 if (ixgbe_validate_mac_addr(vf->ether_addr) == 0) {
769 vf->ether_addr, vf->pool, TRUE);
879 bcopy(mac, vf->ether_addr, ETHER_ADDR_LEN);
/freebsd-10-stable/tools/tools/ifpifa/
H A Difpifa.c149 ether_ntoa_r((struct ether_addr * )

Completed in 364 milliseconds

123