Home
last modified time | relevance | path

Searched refs:ether_addr_t (Results 1 – 13 of 13) sorted by relevance

/xnu-12377.61.12/tests/
H A Dnet_test_lib.h181 extern ether_addr_t ether_broadcast;
197 extern void ifnet_get_lladdr(const char * ifname, ether_addr_t * eaddr);
203 extern int ifnet_set_lladdr(const char * ifname, ether_addr_t * eaddr);
227 const ether_addr_t * src,
230 const ether_addr_t * dst,
237 const ether_addr_t * src,
240 const ether_addr_t * dst,
246 extern u_int make_dhcp_payload(dhcp_min_payload_t payload, ether_addr_t *eaddr);
H A Dnet_bridge.c78 ether_addr_t mac;
80 ether_addr_t member_mac;
140 set_ethernet_address(ether_addr_t *eaddr, u_int unit, u_int addr_index) in set_ethernet_address()
187 get_ipv6_ll_address(const ether_addr_t *mac, struct in6_addr * in6) in get_ipv6_ll_address()
242 static ether_addr_t ether_external = {
297 ether_ntoa_buf(const ether_addr_t *n, char * buf, int buf_size) in ether_ntoa_buf()
367 ether_ntoa_buf((const ether_addr_t *)earp->arp_sha, in arp_frame_validate()
370 ether_ntoa_buf((const ether_addr_t *)earp->arp_tha, in arp_frame_validate()
531 ether_ntoa_buf((const ether_addr_t *)&eh_p->ether_dhost, in ethernet_frame_validate()
533 ether_ntoa_buf((const ether_addr_t *)&eh_p->ether_shost, in ethernet_frame_validate()
[all …]
H A Dnet_test_lib.c48 ether_addr_t ether_broadcast = {
226 const ether_addr_t * src, in ethernet_udp4_frame_populate()
229 const ether_addr_t * dst, in ethernet_udp4_frame_populate()
296 const ether_addr_t * src, in ethernet_udp6_frame_populate()
299 const ether_addr_t * dst, in ethernet_udp6_frame_populate()
361 ifnet_get_lladdr(const char * ifname, ether_addr_t * eaddr) in ifnet_get_lladdr()
379 ifnet_set_lladdr(const char * ifname, ether_addr_t * eaddr) in ifnet_set_lladdr()
632 make_dhcp_payload(dhcp_min_payload_t payload, ether_addr_t *eaddr) in make_dhcp_payload()
H A Dnet_vlan.c307 ether_addr_t eaddr; in vlan_send_short_packet()
/xnu-12377.61.12/bsd/skywalk/nexus/
H A Dnexus_traffic_rule_eth.c96 uint16_t eth_type, ether_addr_t *eth_raddr, uint64_t *qset_id) in nxctl_eth_traffic_rule_find_qset_id()
131 parse_eth_hdr(struct __kern_packet *pkt, uint16_t *eth_type, ether_addr_t *eth_raddr) in parse_eth_hdr()
168 ether_addr_t eth_raddr; in nxctl_eth_traffic_rule_find_qset_id_with_pkt()
230 ether_addr_t mac_zeros_addr = {0}; in eth_traffic_rule_validate()
321 ether_addr_t *, &tdi0->eth_raddr, in eth_traffic_rule_match()
322 ether_addr_t *, &tdi->eth_raddr); in eth_traffic_rule_match()
H A Dos_nexus_private.h390 ether_addr_t nfr_etheraddr;
H A Dnexus_var.h517 uint16_t, ether_addr_t *, uint64_t *);
/xnu-12377.61.12/bsd/net/
H A Dethernet.h102 } ether_addr_t; typedef
H A Dif_var_status.h626 ether_addr_t eth_raddr;
H A Droute.c4835 static inline ether_addr_t *
4838 ether_addr_t *lladdr = NULL; in _sockaddr_get_lladdr()
4844 lladdr = (ether_addr_t *)LLADDR(sdl); in _sockaddr_get_lladdr()
4869 ether_addr_t *eth_raddr = _sockaddr_get_lladdr(rt->rt_gateway); in rt_lookup_qset_id()
4876 uint16_t, eth_type, ether_addr_t *, eth_raddr); in rt_lookup_qset_id()
4881 uint16_t, eth_type, ether_addr_t *, eth_raddr); in rt_lookup_qset_id()
H A Dif_bridge.c8461 ether_addr_t ether_shost;
/xnu-12377.61.12/tests/skywalk/
H A Dskt_filter.c96 static ether_addr_t src_mac_addr, dst_mac_addr;
250 bcopy(dst_mac_addr.octet, eh->ether_dhost, sizeof(ether_addr_t)); in custom_ether_build_packet()
251 bcopy(src_mac_addr.octet, eh->ether_shost, sizeof(ether_addr_t)); in custom_ether_build_packet()
257 bcopy(dst_mac_addr.octet, evh->evl_dhost, sizeof(ether_addr_t)); in custom_ether_build_packet()
258 bcopy(src_mac_addr.octet, evh->evl_shost, sizeof(ether_addr_t)); in custom_ether_build_packet()
H A Dskt_steering.c41 ether_addr_t dst_mac_addr = {0}; in fill_traffic_descriptor_eth()