Home
last modified time | relevance | path

Searched refs:MAC_ADDR_LEN (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/tcpdump/
H A Dprint-ipfc.c38 nd_byte ipfc_dhost[2+MAC_ADDR_LEN];
39 nd_byte ipfc_shost[2+MAC_ADDR_LEN];
53 memcpy(ipfcdst, (const char *)&ipfcp->ipfc_dhost[2], MAC_ADDR_LEN); in extract_ipfc_addrs()
54 memcpy(ipfcsrc, (const char *)&ipfcp->ipfc_shost[2], MAC_ADDR_LEN); in extract_ipfc_addrs()
H A Dprint-aoe.c285 cp += MAC_ADDR_LEN; in aoev1_mac_print()
286 len -= MAC_ADDR_LEN; in aoev1_mac_print()
301 if (len < AOEV1_RESERVE_ARG_LEN || (len - AOEV1_RESERVE_ARG_LEN) % MAC_ADDR_LEN) in aoev1_reserve_print()
313 if (nmacs * MAC_ADDR_LEN != len) in aoev1_reserve_print()
318 cp += MAC_ADDR_LEN; in aoev1_reserve_print()
319 len -= MAC_ADDR_LEN; in aoev1_reserve_print()
H A Dprint-loopback.c82 if (len < MAC_ADDR_LEN) in loopback_message_print()
86 cp += MAC_ADDR_LEN; in loopback_message_print()
87 len -= MAC_ADDR_LEN; in loopback_message_print()
H A Dprint-ether.c176 length -= 2*MAC_ADDR_LEN; in ether_common_print()
177 caplen -= 2*MAC_ADDR_LEN; in ether_common_print()
178 p += 2*MAC_ADDR_LEN; in ether_common_print()
179 hdrlen = 2*MAC_ADDR_LEN; in ether_common_print()
H A Dprint-sll.c169 if (GET_BE_U_2(sllp->sll_halen) == MAC_ADDR_LEN) in sll_print()
352 if (GET_U_1(sllp->sll2_halen) == MAC_ADDR_LEN) in sll2_print()
H A Daddrtoname.h83 if (!ND_TTEST_LEN(p, MAC_ADDR_LEN)) in get_etheraddr_string()
H A Daddrtoname.c72 unsigned char ether_addr_octet[MAC_ADDR_LEN];
606 memcpy (&ea, ep, MAC_ADDR_LEN); in etheraddr_string()
677 if (type == LINKADDR_ETHER && len == MAC_ADDR_LEN) in linkaddr_string()
984 memcpy (&ea, el->addr, MAC_ADDR_LEN); in init_etherarray()
H A Dprint-vqp.c196 if (vqp_obj_len != MAC_ADDR_LEN) in vqp_print()
H A Dprint-bootp.c298 if (bp_htype == 1 && bp_hlen == MAC_ADDR_LEN && bp_op == BOOTPREQUEST) { in bootp_print()
314 if (bp_htype != 1 || bp_hlen != MAC_ADDR_LEN) in bootp_print()
347 if (bp_htype == 1 && bp_hlen == MAC_ADDR_LEN) { in bootp_print()
H A Dprint-cfm.c406 if (md_namelength == MAC_ADDR_LEN) { in cfm_print()
641 if (chassis_id_length != MAC_ADDR_LEN) { in cfm_print()
H A Dprint-openflow-1.0.c1036 cp += MAC_ADDR_LEN; in of10_phy_port_print()
1207 cp += MAC_ADDR_LEN; in of10_match_print()
1211 cp += MAC_ADDR_LEN; in of10_match_print()
1373 OF_FWD(MAC_ADDR_LEN); in of10_actions_print()
1539 cp += MAC_ADDR_LEN; in of10_port_mod_print()
H A Dprint-isoclns.c56 #define SYSTEM_ID_LEN MAC_ADDR_LEN
1300 if (snpal == MAC_ADDR_LEN) in esis_print()
2889 if (tlen < MAC_ADDR_LEN) in isis_print()
2891 ND_TCHECK_LEN(tptr, MAC_ADDR_LEN); in isis_print()
2892 ND_PRINT("\n\t SNPA: %s", isis_print_id(ndo, tptr, MAC_ADDR_LEN)); in isis_print()
2893 tlen -= MAC_ADDR_LEN; in isis_print()
2894 tptr += MAC_ADDR_LEN; in isis_print()
H A Dprint-openflow-1.3.c657 cp += MAC_ADDR_LEN; in of13_port_print()
814 cp += MAC_ADDR_LEN; in of13_port_mod_print()
H A Dnetdissect.h112 #define MAC_ADDR_LEN 6U /* length of MAC addresses */ macro
113 typedef unsigned char nd_mac_addr[MAC_ADDR_LEN];
H A Dprint-atalk.c239 GET_U_1(ap->halen) == MAC_ADDR_LEN && GET_U_1(ap->palen) == 4) in aarp_print()
H A Dprint-lldp.c1361 if (len < MAC_ADDR_LEN) in lldp_network_addr_print()
/freebsd/stand/i386/libi386/
H A Dpxe.h71 #define MAC_ADDR_LEN 16 macro
72 typedef uint8_t MAC_ADDR[MAC_ADDR_LEN];