Home
last modified time | relevance | path

Searched refs:ether_addr (Results 1 – 25 of 82) sorted by relevance

1234

/freebsd-13.1/lib/libc/net/
H A Dether_addr.c70 ether_line(const char *l, struct ether_addr *e, char *hostname) in ether_line()
88 struct ether_addr *
89 ether_aton_r(const char *a, struct ether_addr *e) in ether_aton_r()
106 struct ether_addr *
109 static struct ether_addr e; in ether_aton()
118 ether_ntoa_r(const struct ether_addr *n, char *a) in ether_ntoa_r()
130 ether_ntoa(const struct ether_addr *n) in ether_ntoa()
141 ether_ntohost(char *hostname, const struct ether_addr *e) in ether_ntohost()
145 struct ether_addr local_ether; in ether_ntohost()
191 ether_hostton(const char *hostname, struct ether_addr *e) in ether_hostton()
[all …]
/freebsd-13.1/lib/libc/tests/net/
H A Dether_test.c41 static const struct ether_addr ether_line_addr = {
48 struct ether_addr e; in ATF_TC_BODY()
64 struct ether_addr e; in ATF_TC_BODY()
76 struct ether_addr e; in ATF_TC_BODY()
84 static const struct ether_addr ether_aton_addr = {
91 struct ether_addr e, *ep; in ATF_TC_BODY()
105 struct ether_addr e, *ep; in ATF_TC_BODY()
114 struct ether_addr *ep; in ATF_TC_BODY()
125 struct ether_addr *ep; in ATF_TC_BODY()
132 static const struct ether_addr ether_ntoa_addr = {
/freebsd-13.1/sys/net/
H A Dethernet.h69 struct ether_addr { struct
454 void ether_gen_addr(struct ifnet *ifp, struct ether_addr *hwaddr);
474 struct ether_addr *ether_aton(const char *);
475 struct ether_addr *ether_aton_r(const char *, struct ether_addr *);
476 int ether_hostton(const char *, struct ether_addr *);
477 int ether_line(const char *, struct ether_addr *, char *);
478 char *ether_ntoa(const struct ether_addr *);
479 char *ether_ntoa_r(const struct ether_addr *, char *);
480 int ether_ntohost(char *, const struct ether_addr *);
H A Ddebugnet_int.h64 struct ether_addr dp_gw_mac;
87 int debugnet_ether_output(struct mbuf *, struct ifnet *, struct ether_addr,
/freebsd-13.1/tools/regression/ethernet/ethermulti/
H A Dethermulti.c121 struct ether_addr ea; in test_ether_multi()
138 struct ether_addr *nep = ether_aton("01:80:DE:FA:CA:7E"); in test_ether_multi()
149 dlp->sdl_alen = sizeof(struct ether_addr); in test_ether_multi()
150 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr)); in test_ether_multi()
192 dlp->sdl_alen = sizeof(struct ether_addr); in test_ether_multi()
193 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr)); in test_ether_multi()
/freebsd-13.1/usr.sbin/wake/
H A Dwake.c62 static int get_ether(char const *text, struct ether_addr *addr);
63 static int send_wakeup(int bpf, struct ether_addr const *addr);
78 struct ether_addr macaddr; in wake()
137 get_ether(char const *text, struct ether_addr *addr) in get_ether()
139 struct ether_addr *paddr; in get_ether()
154 send_wakeup(int bpf, struct ether_addr const *addr) in send_wakeup()
/freebsd-13.1/tools/tools/ether_reflect/
H A Dether_reflect.c109 ether_aton_r(user_addr, (struct ether_addr *)&tmp); in main()
142 ether_ntoa((const struct ether_addr*) in main()
145 ether_ntoa((const struct ether_addr*) in main()
/freebsd-13.1/sbin/ipf/iplang/
H A Diplang.h12 struct ether_addr if_eaddr;
26 struct ether_addr arp_eaddr;
/freebsd-13.1/sys/dev/ixgbe/
H A Dif_sriov.c131 return (bcmp(mac, vf->ether_addr, ETHER_ADDR_LEN) != 0); in ixgbe_vf_mac_changed()
363 if (ixgbe_validate_mac_addr(vf->ether_addr) == 0) { in ixgbe_vf_reset_msg()
364 ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr, in ixgbe_vf_reset_msg()
376 bcopy(vf->ether_addr, &resp[1], ETHER_ADDR_LEN); in ixgbe_vf_reset_msg()
400 bcopy(mac, vf->ether_addr, ETHER_ADDR_LEN); in ixgbe_vf_set_mac()
402 ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr, vf->pool, in ixgbe_vf_set_mac()
765 if (ixgbe_validate_mac_addr(vf->ether_addr) == 0) { in ixgbe_init_vf()
767 vf->ether_addr, vf->pool, true); in ixgbe_init_vf()
872 bcopy(mac, vf->ether_addr, ETHER_ADDR_LEN); in ixgbe_if_iov_vf_add()
/freebsd-13.1/contrib/netbsd-tests/lib/libc/net/
H A Dt_ether_aton.c92 struct ether_addr dest; in ATF_TC_BODY()
99 struct ether_addr *r; in ATF_TC_BODY()
/freebsd-13.1/tools/tools/net80211/wlanstats/
H A Dmain.c107 ether_ntoa((const struct ether_addr*) macaddr));
109 fprintf(fd, "%s:\n", ether_ntoa((const struct ether_addr*) macaddr));
170 struct ether_addr *ea; in main()
/freebsd-13.1/usr.sbin/arp/
H A Darp.c98 static int get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr);
324 struct ether_addr *ea; in set()
380 ea = (struct ether_addr *)LLADDR(&sdl_m); in set()
389 struct ether_addr *ea1 = ether_aton(eaddr); in set()
622 ether_ntoa((struct ether_addr *)LLADDR(sdl))); in print_entry()
800 get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr) in get_ether_addr()
/freebsd-13.1/usr.sbin/bluetooth/btpand/
H A Dbnep.c372 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_setup_connection_req()
394 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_setup_connection_rsp()
461 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_filter_net_type_set()
483 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_filter_net_type_rsp()
551 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_filter_multi_addr_set()
572 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_filter_multi_addr_rsp()
/freebsd-13.1/sys/dev/etherswitch/arswitch/
H A Darswitchvar.h103 struct ether_addr *sa);
105 const struct ether_addr *sa);
/freebsd-13.1/contrib/libpcap/lbl/
H A Dos-sunos4.h69 struct ether_addr;
71 struct ether_addr *ether_aton(const char *);
/freebsd-13.1/contrib/tcpdump/lbl/
H A Dos-sunos4.h70 struct ether_addr;
72 struct ether_addr *ether_aton(const char *);
/freebsd-13.1/tools/tools/ath/athratestats/
H A Dmain.c227 rate_node_stats(struct ath_ratestats *r, struct ether_addr *e) in rate_node_stats()
282 fetch_and_print_stats(struct ath_ratestats *r, struct ether_addr *e, in fetch_and_print_stats()
311 struct ether_addr *e; in main()
/freebsd-13.1/sbin/ifconfig/
H A Daf_link.c75 ether_format = ether_ntoa((struct ether_addr *)LLADDR(sdl)); in link_status()
121 ether_format = ether_ntoa((const struct ether_addr *) in link_status()
H A Difbridge.c128 struct ether_addr ea; in bridge_addresses()
172 ether_ntoa((struct ether_addr *)lladdr), in bridge_status()
184 ether_ntoa((struct ether_addr *)lladdr), in bridge_status()
402 struct ether_addr *ea; in setbridge_static()
423 struct ether_addr *ea; in setbridge_deladdr()
/freebsd-13.1/sys/mips/atheros/
H A Dar71xx_macaddr.h37 extern int ar71xx_mac_addr_random_init(struct ifnet *ifp, struct ether_addr *dst);
H A Dar71xx_macaddr.c96 ar71xx_mac_addr_random_init(struct ifnet *ifp, struct ether_addr *dst) in ar71xx_mac_addr_random_init()
/freebsd-13.1/contrib/libpcap/
H A Dnametoaddr.c106 struct ether_addr { struct
122 extern int ether_hostton(const char *, struct ether_addr *);
777 if (ether_hostton(name, (struct ether_addr *)a) == 0) { in pcap_ether_hostton()
/freebsd-13.1/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet_locl.h147 struct ether_addr;
/freebsd-13.1/libexec/bootpd/
H A Dlookup.c43 static struct ether_addr ea;
/freebsd-13.1/usr.sbin/bhyve/
H A Dnet_utils.c50 struct ether_addr *ea; in net_parsemac()

1234