Searched refs:MAC_ADDR_LEN (Results 1 – 17 of 17) sorted by last modified time
/freebsd/stand/i386/libi386/ |
H A D | pxe.h | 71 #define MAC_ADDR_LEN 16 macro 72 typedef uint8_t MAC_ADDR[MAC_ADDR_LEN];
|
/freebsd/contrib/tcpdump/ |
H A D | netdissect.h | 104 #define MAC_ADDR_LEN 6U /* length of MAC addresses */ macro 105 typedef unsigned char nd_mac_addr[MAC_ADDR_LEN];
|
H A D | print-vqp.c | 198 if (vqp_obj_len != MAC_ADDR_LEN) in vqp_print()
|
H A D | print-sll.c | 171 if (GET_BE_U_2(sllp->sll_halen) == MAC_ADDR_LEN) in sll_print() 354 if (GET_U_1(sllp->sll2_halen) == MAC_ADDR_LEN) in sll2_print()
|
H A D | print-openflow-1.3.c | 659 cp += MAC_ADDR_LEN; in of13_port_print() 816 cp += MAC_ADDR_LEN; in of13_port_mod_print()
|
H A D | print-lldp.c | 1363 if (len < MAC_ADDR_LEN) in lldp_network_addr_print()
|
H A D | print-loopback.c | 83 if (len < MAC_ADDR_LEN) in loopback_message_print() 87 cp += MAC_ADDR_LEN; in loopback_message_print() 88 len -= MAC_ADDR_LEN; in loopback_message_print()
|
H A D | print-openflow-1.0.c | 1049 cp += MAC_ADDR_LEN; in of10_phy_port_print() 1220 cp += MAC_ADDR_LEN; in of10_match_print() 1224 cp += MAC_ADDR_LEN; in of10_match_print() 1387 OF_FWD(MAC_ADDR_LEN); in of10_actions_print() 1554 cp += MAC_ADDR_LEN; in of10_port_mod_print()
|
H A D | print-ipfc.c | 40 nd_byte ipfc_dhost[2+MAC_ADDR_LEN]; 41 nd_byte ipfc_shost[2+MAC_ADDR_LEN]; 55 memcpy(ipfcdst, (const char *)&ipfcp->ipfc_dhost[2], MAC_ADDR_LEN); in extract_ipfc_addrs() 56 memcpy(ipfcsrc, (const char *)&ipfcp->ipfc_shost[2], MAC_ADDR_LEN); in extract_ipfc_addrs()
|
H A D | print-isoclns.c | 58 #define SYSTEM_ID_LEN MAC_ADDR_LEN 1301 if (snpal == MAC_ADDR_LEN) in esis_print() 2897 if (tlen < MAC_ADDR_LEN) in isis_print() 2899 ND_TCHECK_LEN(tptr, MAC_ADDR_LEN); in isis_print() 2900 ND_PRINT("\n\t SNPA: %s", isis_print_id(ndo, tptr, MAC_ADDR_LEN)); in isis_print() 2901 tlen -= MAC_ADDR_LEN; in isis_print() 2902 tptr += MAC_ADDR_LEN; in isis_print()
|
H A D | print-ether.c | 178 length -= 2*MAC_ADDR_LEN; in ether_common_print() 179 caplen -= 2*MAC_ADDR_LEN; in ether_common_print() 180 p += 2*MAC_ADDR_LEN; in ether_common_print() 181 hdrlen = 2*MAC_ADDR_LEN; in ether_common_print()
|
H A D | print-aoe.c | 287 cp += MAC_ADDR_LEN; in aoev1_mac_print() 288 len -= MAC_ADDR_LEN; in aoev1_mac_print() 303 if (len < AOEV1_RESERVE_ARG_LEN || (len - AOEV1_RESERVE_ARG_LEN) % MAC_ADDR_LEN) in aoev1_reserve_print() 315 if (nmacs * MAC_ADDR_LEN != len) in aoev1_reserve_print() 320 cp += MAC_ADDR_LEN; in aoev1_reserve_print() 321 len -= MAC_ADDR_LEN; in aoev1_reserve_print()
|
H A D | print-atalk.c | 241 GET_U_1(ap->halen) == MAC_ADDR_LEN && GET_U_1(ap->palen) == 4) in aarp_print()
|
H A D | print-bootp.c | 298 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 D | print-cfm.c | 408 if (md_namelength == MAC_ADDR_LEN) { in cfm_print() 643 if (chassis_id_length != MAC_ADDR_LEN) { in cfm_print()
|
H A D | addrtoname.c | 74 unsigned char ether_addr_octet[MAC_ADDR_LEN]; 609 memcpy (&ea, ep, MAC_ADDR_LEN); in etheraddr_string() 680 if (type == LINKADDR_ETHER && len == MAC_ADDR_LEN) in linkaddr_string() 987 memcpy (&ea, el->addr, MAC_ADDR_LEN); in init_etherarray()
|
H A D | addrtoname.h | 83 if (!ND_TTEST_LEN(p, MAC_ADDR_LEN)) in get_etheraddr_string()
|