| /f-stack/tools/compat/include/net/ |
| H A D | ethernet.h | 69 struct ether_addr { struct 450 void ether_gen_addr(struct ifnet *ifp, 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 *, char *); 476 int ether_ntohost(char *, const struct ether_addr *);
|
| /f-stack/freebsd/net/ |
| H A D | ethernet.h | 69 struct ether_addr { struct 450 void ether_gen_addr(struct ifnet *ifp, 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 *, char *); 476 int ether_ntohost(char *, const struct ether_addr *);
|
| H A D | debugnet_int.h | 64 struct ether_addr dp_gw_mac; 87 int debugnet_ether_output(struct mbuf *, struct ifnet *, struct ether_addr,
|
| H A D | if_edsc.c | 101 struct ether_addr eaddr; in edsc_clone_create()
|
| H A D | debugnet_inet.c | 229 struct ether_addr bcast; in debugnet_send_arp() 280 struct ether_addr dst; in debugnet_handle_arp()
|
| H A D | if_ethersubr.c | 95 CTASSERT(sizeof (struct ether_addr) == ETHER_ADDR_LEN); 1442 ether_gen_addr(struct ifnet *ifp, struct ether_addr *hwaddr) in ether_gen_addr()
|
| H A D | debugnet.c | 129 debugnet_ether_output(struct mbuf *m, struct ifnet *ifp, struct ether_addr dst, in debugnet_ether_output()
|
| H A D | if_tuntap.c | 145 struct ether_addr tun_ether; /* remote address */ 934 struct ether_addr eaddr; in tuncreate()
|
| H A D | if_bridge.c | 276 struct ether_addr sc_defaddr; /* Default MAC address */
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | parser.c | 340 static struct rte_ether_addr ether_addr; in my_ether_aton() local 360 ether_addr.addr_bytes[i] = (uint8_t)o[i]; in my_ether_aton() 367 ether_addr.addr_bytes[i * 2] = (uint8_t)(o[i] >> 8); in my_ether_aton() 368 ether_addr.addr_bytes[i * 2 + 1] = (uint8_t)(o[i] & 0xff); in my_ether_aton() 374 return (struct rte_ether_addr *)ðer_addr; in my_ether_aton()
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | parser.c | 357 static struct rte_ether_addr ether_addr; in my_ether_aton() local 377 ether_addr.addr_bytes[i] = (uint8_t)o[i]; in my_ether_aton() 384 ether_addr.addr_bytes[i * 2] = (uint8_t)(o[i] >> 8); in my_ether_aton() 385 ether_addr.addr_bytes[i * 2 + 1] = (uint8_t)(o[i] & 0xff); in my_ether_aton() 391 return (struct rte_ether_addr *)ðer_addr; in my_ether_aton()
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_macaddr.h | 37 extern int ar71xx_mac_addr_random_init(struct ifnet *ifp, struct ether_addr *dst);
|
| H A D | ar71xx_macaddr.c | 96 ar71xx_mac_addr_random_init(struct ifnet *ifp, struct ether_addr *dst) in ar71xx_mac_addr_random_init()
|
| /f-stack/tools/arp/ |
| H A D | arp.c | 113 static int get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr); 358 struct ether_addr *ea; in set() 414 ea = (struct ether_addr *)LLADDR(&sdl_m); in set() 423 struct ether_addr *ea1 = ether_aton(eaddr); in set() 656 ether_ntoa((struct ether_addr *)LLADDR(sdl))); in print_entry() 852 get_ether_addr(in_addr_t ipaddr, struct ether_addr *hwaddr) in get_ether_addr()
|
| /f-stack/tools/ifconfig/ |
| H A D | af_link.c | 79 ether_format = ether_ntoa((struct ether_addr *)LLADDR(sdl)); in link_status() 125 ether_format = ether_ntoa((const struct ether_addr *) in link_status()
|
| H A D | ifbridge.c | 211 struct ether_addr ea; in bridge_addresses() 267 ether_ntoa((struct ether_addr *)lladdr), pri, ht, fd); in bridge_status() 273 ether_ntoa((struct ether_addr *)lladdr), bprio, in bridge_status() 457 struct ether_addr *ea; in setbridge_static() 478 struct ether_addr *ea; in setbridge_deladdr()
|
| H A D | ifieee80211.c | 3761 , ether_ntoa((const struct ether_addr *) sr->isr_bssid) in list_scan() 3927 , ether_ntoa((const struct ether_addr*) in list_stations() 3942 , ether_ntoa((const struct ether_addr*) in list_stations() 4539 (const struct ether_addr *) acllist[i].ml_macaddr)); in list_mac() 4616 ether_ntoa((const struct ether_addr *)rt->imr_dest)); in list_mesh() 4618 ether_ntoa((const struct ether_addr *)rt->imr_nexthop), in list_mesh() 4908 printf(" bssid %s", ether_ntoa((struct ether_addr *)data)); in ieee80211_status() 5781 const struct ether_addr *ea; in DECL_CMD_FUNC() 5792 const struct ether_addr *ea; in DECL_CMD_FUNC()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_ether_echo.c | 111 struct ether_addr tmpaddr; in ngee_rcvdata()
|
| H A D | ng_eiface.c | 386 struct ether_addr eaddr; in ng_eiface_constructor()
|
| /f-stack/dpdk/drivers/net/memif/ |
| H A D | rte_eth_memif.c | 1483 struct rte_ether_addr *ether_addr) in memif_create() argument 1540 data->mac_addrs = ether_addr; in memif_create() 1709 struct rte_ether_addr *ether_addr = (struct rte_ether_addr *)extra_args; in memif_set_mac() local 1711 if (rte_ether_unformat_addr(value, ether_addr) < 0) in memif_set_mac() 1740 struct rte_ether_addr *ether_addr = rte_zmalloc("", in rte_pmd_memif_probe() local 1744 rte_eth_random_addr(ether_addr->addr_bytes); in rte_pmd_memif_probe() 1822 &memif_set_mac, ether_addr); in rte_pmd_memif_probe() 1843 log2_ring_size, pkt_buffer_size, secret, ether_addr); in rte_pmd_memif_probe()
|
| /f-stack/dpdk/examples/vm_power_manager/ |
| H A D | channel_monitor.c | 67 str_to_ether_addr(const char *a, struct rte_ether_addr *ether_addr) in str_to_ether_addr() argument 91 ether_addr->addr_bytes[i] = (uint8_t)o[i]; in str_to_ether_addr() 98 ether_addr->addr_bytes[i * 2] = in str_to_ether_addr() 100 ether_addr->addr_bytes[i * 2 + 1] = in str_to_ether_addr()
|
| /f-stack/dpdk/drivers/net/thunderx/base/ |
| H A D | nicvf_mbox.c | 138 ether_addr_copy((struct ether_addr *)mbx.nic_cfg.mac_addr, in nicvf_handle_mbx_intr() 139 (struct ether_addr *)nic->mac_addr); in nicvf_handle_mbx_intr()
|
| /f-stack/tools/ |
| H A D | README.md | 239 arp -p <f-stack proc_id> -s hostname ether_addr [temp] [reject | blackhole] [pub [only]] 240 arp -p <f-stack proc_id> -S hostname ether_addr [temp] [reject | blackhole] [pub [only]]
|
| /f-stack/freebsd/arm64/broadcom/genet/ |
| H A D | if_genet.c | 199 static bool gen_get_eaddr(device_t dev, struct ether_addr *eaddr); 238 struct ether_addr eaddr; in gen_attach() 405 gen_get_eaddr(device_t dev, struct ether_addr *eaddr) in gen_get_eaddr()
|
| /f-stack/tools/ndp/ |
| H A D | ndp.c | 879 strlcpy(hbuf, ether_ntoa((struct ether_addr *)LLADDR(sdl)), in ether_str()
|