/freebsd/lib/libc/net/ |
H A D | ether_addr.c | 67 ether_line(const char *l, struct ether_addr *e, char *hostname) in ether_line() 85 struct ether_addr * 86 ether_aton_r(const char *a, struct ether_addr *e) in ether_aton_r() 103 struct ether_addr * 106 static struct ether_addr e; in ether_aton() 115 ether_ntoa_r(const struct ether_addr *n, char *a) in ether_ntoa_r() 127 ether_ntoa(const struct ether_addr *n) in ether_ntoa() 138 ether_ntohost(char *hostname, const struct ether_addr *e) in ether_ntohost() 142 struct ether_addr local_ether; in ether_ntohost() 188 ether_hostton(const char *hostname, struct ether_addr *e) in ether_hostton() [all …]
|
/freebsd/lib/libc/tests/net/ |
H A D | ether_test.c | 39 static const struct ether_addr ether_line_addr = { 46 struct ether_addr e; in ATF_TC_BODY() 62 struct ether_addr e; in ATF_TC_BODY() 74 struct ether_addr e; in ATF_TC_BODY() 82 static const struct ether_addr ether_aton_addr = { 89 struct ether_addr e, *ep; in ATF_TC_BODY() 103 struct ether_addr e, *ep; in ATF_TC_BODY() 112 struct ether_addr *ep; in ATF_TC_BODY() 123 struct ether_addr *ep; in ATF_TC_BODY() 130 static const struct ether_addr ether_ntoa_addr = {
|
/freebsd/sys/net/ |
H A D | ethernet.h | 69 struct ether_addr { 449 void ether_gen_addr(struct ifnet *ifp, struct ether_addr *hwaddr); 450 void ether_gen_addr_byname(const char *nameunit, struct ether_addr *hwaddr); 470 struct ether_addr *ether_aton(const char *); 471 struct ether_addr *ether_aton_r(const char *, struct ether_addr *); 472 int ether_hostton(const char *, struct ether_addr *); 473 int ether_line(const char *, struct ether_addr *, char *); 474 char *ether_ntoa(const struct ether_addr *); 475 char *ether_ntoa_r(const struct ether_addr *, cha 70 struct ether_addr { global() struct 71 octetether_addr global() argument [all...] |
H A D | debugnet_int.h | 62 struct ether_addr dp_gw_mac; 87 int debugnet_ether_output(struct mbuf *, struct ifnet *, struct ether_addr,
|
/freebsd/tools/regression/ethernet/ethermulti/ |
H A D | ethermulti.c | 118 struct ether_addr ea; in test_ether_multi() 135 struct ether_addr *nep = ether_aton("01:80:DE:FA:CA:7E"); in test_ether_multi() 146 dlp->sdl_alen = sizeof(struct ether_addr); in test_ether_multi() 147 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr)); in test_ether_multi() 189 dlp->sdl_alen = sizeof(struct ether_addr); in test_ether_multi() 190 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr)); in test_ether_multi()
|
/freebsd/usr.sbin/wake/ |
H A D | wake.c | 60 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; in wake() 135 get_ether(char const *text, struct ether_addr *addr) in get_ether() 137 struct ether_addr *paddr; in get_ether() 152 send_wakeup(int bpf, struct ether_addr const *addr) in send_wakeup()
|
/freebsd/tools/tools/ether_reflect/ |
H A D | ether_reflect.c | 107 ether_aton_r(user_addr, (struct ether_addr *)&tmp); in main() 140 ether_ntoa((const struct ether_addr*) in main() 143 ether_ntoa((const struct ether_addr*) in main()
|
/freebsd/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_hw.h | 37 struct ether_addr *ea); 39 struct ether_addr *ea);
|
H A D | ar40xx_hw.c | 306 struct ether_addr *ea) in ar40xx_hw_read_switch_mac_address() 334 struct ether_addr *ea) in ar40xx_hw_write_switch_mac_address()
|
/freebsd/sbin/ifconfig/ |
H A D | af_link.c | 56 print_ether(const struct ether_addr *addr, const char *prefix) in print_ether() 91 print_ether((struct ether_addr *)LLADDR(sdl), "ether"); in print_lladdr() 157 print_ether((const struct ether_addr *)&ifr.ifr_addr.sa_data, "hwaddr"); in link_status() 181 print_ether((struct ether_addr *)NLA_DATA(hwaddr), "hwaddr"); in link_status_nl()
|
H A D | ifbridge.c | 121 struct ether_addr ea; in bridge_addresses() 165 ether_ntoa((struct ether_addr *)lladdr), in bridge_status() 177 ether_ntoa((struct ether_addr *)lladdr), in bridge_status() 394 struct ether_addr *ea; in setbridge_static() 415 struct ether_addr *ea; in setbridge_deladdr()
|
/freebsd/sbin/ipf/iplang/ |
H A D | iplang.h | 11 struct ether_addr if_eaddr; 25 struct ether_addr arp_eaddr;
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_sriov.c | 130 return (bcmp(mac, vf->ether_addr, ETHER_ADDR_LEN) != 0); in ixgbe_vf_mac_changed() 374 if (ixgbe_validate_mac_addr(vf->ether_addr) == 0) { in ixgbe_vf_reset_msg() 375 ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr, in ixgbe_vf_reset_msg() 387 bcopy(vf->ether_addr, &resp[1], ETHER_ADDR_LEN); in ixgbe_vf_reset_msg() 411 bcopy(mac, vf->ether_addr, ETHER_ADDR_LEN); in ixgbe_vf_set_mac() 413 ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr, vf->pool, in ixgbe_vf_set_mac() 780 if (ixgbe_validate_mac_addr(vf->ether_addr) == 0) { in ixgbe_init_vf() 782 vf->ether_addr, vf->pool, true); in ixgbe_init_vf() 887 bcopy(mac, vf->ether_addr, ETHER_ADDR_LEN); in ixgbe_if_iov_vf_add()
|
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | t_ether_aton.c | 92 struct ether_addr dest; in ATF_TC_BODY() 99 struct ether_addr *r; in ATF_TC_BODY()
|
/freebsd/usr.sbin/wlanstats/ |
H A D | main.c | 105 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/usr.sbin/bluetooth/btpand/ |
H A D | bnep.c | 371 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_setup_connection_req() 393 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_setup_connection_rsp() 460 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_filter_net_type_set() 482 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_filter_net_type_rsp() 550 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_filter_multi_addr_set() 571 ether_ntoa((struct ether_addr *)chan->raddr), rsp); in bnep_recv_filter_multi_addr_rsp()
|
/freebsd/usr.sbin/arp/ |
H A D | arp.c | 84 static int get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr); 306 struct ether_addr *ea; in set() 358 ea = (struct ether_addr *)LLADDR(&sdl_m); in set() 367 struct ether_addr *ea1 = ether_aton(eaddr); in set() 626 ether_ntoa((struct ether_addr *)LLADDR(sdl))); in print_entry() 826 get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr) in get_ether_addr()
|
/freebsd/sys/dev/etherswitch/arswitch/ |
H A D | arswitchvar.h | 98 struct ether_addr *sa); 100 const struct ether_addr *sa);
|
/freebsd/contrib/tcpdump/lbl/ |
H A D | os-sunos4.h | 70 struct ether_addr; 72 struct ether_addr *ether_aton(const char *);
|
/freebsd/contrib/libpcap/lbl/ |
H A D | os-sunos4.h | 69 struct ether_addr; 71 struct ether_addr *ether_aton(const char *);
|
/freebsd/tools/tools/ath/athratestats/ |
H A D | main.c | 225 rate_node_stats(struct ath_ratestats *r, struct ether_addr *e) in rate_node_stats() 280 fetch_and_print_stats(struct ath_ratestats *r, struct ether_addr *e, in fetch_and_print_stats() 309 struct ether_addr *e; in main()
|
/freebsd/contrib/libpcap/ |
H A D | nametoaddr.c | 104 struct ether_addr { struct 120 extern int ether_hostton(const char *, struct ether_addr *); 790 if (ether_hostton(namebuf, (struct ether_addr *)a) == 0) { in pcap_ether_hostton()
|
/freebsd/crypto/heimdal/appl/telnet/telnet/ |
H A D | telnet_locl.h | 147 struct ether_addr;
|
/freebsd/libexec/bootpd/ |
H A D | lookup.c | 38 static struct ether_addr ea; in lookup_hwa()
|
/freebsd/usr.sbin/bhyve/ |
H A D | net_utils.c | 47 struct ether_addr *ea; in net_parsemac()
|