Home
last modified time | relevance | path

Searched refs:NETIF_MAX_HWADDR_LEN (Results 1 – 16 of 16) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_ether.c169 if (len != NETIF_MAX_HWADDR_LEN) in eth_set_hwaddr()
175 err = memcpy_s(usb_netif->hwaddr, NETIF_MAX_HWADDR_LEN, addr, len); in eth_set_hwaddr()
272 uint8_t dev_addr[NETIF_MAX_HWADDR_LEN]; in netdev_register()
283 usb_netif->hwaddr_len = NETIF_MAX_HWADDR_LEN; in netdev_register()
294 (void)memcpy_s(usb_netif->hwaddr, NETIF_MAX_HWADDR_LEN, dev_addr, NETIF_MAX_HWADDR_LEN); in netdev_register()
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdcereg.h42 #define ETHER_HDR_LEN (NETIF_MAX_HWADDR_LEN*2+ETHER_TYPE_LEN)
136 uint8_t ether_dhost[NETIF_MAX_HWADDR_LEN];
137 uint8_t ether_shost[NETIF_MAX_HWADDR_LEN];
Dusb_eth_drv.c76 usb_netif->hwaddr_len = NETIF_MAX_HWADDR_LEN; in eth_drv_init()
84 (void)memcpy_s(usb_netif->hwaddr, NETIF_MAX_HWADDR_LEN, enaddr, NETIF_MAX_HWADDR_LEN); in eth_drv_init()
Dif_urndisreg.h39 uint8_t ether_dhost[NETIF_MAX_HWADDR_LEN];
40 uint8_t ether_shost[NETIF_MAX_HWADDR_LEN];
Dif_axgereg.h184 #define ETHER_HDR_LEN (NETIF_MAX_HWADDR_LEN * 2 + ETHER_TYPE_LEN)
Dif_axge.c322 (void)axge_read_mem(sc, AXGE_ACCESS_MAC, NETIF_MAX_HWADDR_LEN, AXGE_NIDR, in axge_attach_post()
323 ue->ue_eaddr, NETIF_MAX_HWADDR_LEN); in axge_attach_post()
680 ifp->ac_if.hwaddr_len = NETIF_MAX_HWADDR_LEN; in axge_init()
Dif_urndis.c184 uint8_t eaddr[NETIF_MAX_HWADDR_LEN]; in urndis_attach()
261 if (bufsz != NETIF_MAX_HWADDR_LEN) { in urndis_attach()
265 (void)memcpy_s(&sc->sc_ue.ue_eaddr, NETIF_MAX_HWADDR_LEN, buf, NETIF_MAX_HWADDR_LEN); in urndis_attach()
Dusb_ethernet.h131 uint8_t ue_eaddr[NETIF_MAX_HWADDR_LEN];
Dif_axereg.h65 #define ETHER_HDR_LEN (NETIF_MAX_HWADDR_LEN*2 + ETHER_TYPE_LEN)
Dif_cdce.c473 char eaddr_str[5 * NETIF_MAX_HWADDR_LEN]; /* approx */ in cdce_attach()
586 (void)memcpy_s(&sc->sc_ue.ue_eaddr[1], (NETIF_MAX_HWADDR_LEN - 2), &seed, sizeof(uint32_t)); in cdce_attach()
593 for (i = 0; i != (NETIF_MAX_HWADDR_LEN * 2); i++) { in cdce_attach()
Dif_axe.c554 ifp->ac_if.hwaddr_len = NETIF_MAX_HWADDR_LEN; in axe_ax88772b_init()
556 for (i = 0; i < NETIF_MAX_HWADDR_LEN / 2; i++) { in axe_ax88772b_init()
/third_party/lwip/src/include/lwip/
Dnetif.h65 #ifndef NETIF_MAX_HWADDR_LEN
66 #define NETIF_MAX_HWADDR_LEN 6U macro
344 u8_t hwaddr[NETIF_MAX_HWADDR_LEN];
/third_party/lwip/src/include/lwip/priv/
Dnd6_priv.h74 u8_t lladdr[NETIF_MAX_HWADDR_LEN];
/third_party/lwip/src/include/lwip/prot/
Dnd6.h163 PACK_STRUCT_FLD_8(u8_t addr[NETIF_MAX_HWADDR_LEN]);
/third_party/lwip/src/core/ipv4/
Ddhcp.c1860 for (i = 0; i < netif->hwaddr_len && i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) {
2008 for (i = 0; i < LWIP_MIN(DHCP_CHADDR_LEN, NETIF_MAX_HWADDR_LEN); i++) {
/third_party/lwip/
DCHANGELOG644 * netif.h: bug #42998: made NETIF_MAX_HWADDR_LEN overridable for some special