Lines Matching refs:offsetof
942 bcopy(eh_p, vlh_p, offsetof(struct ether_header, ether_type));
1351 #define IP_SRC_OFFSET (offsetof(struct ip, ip_src) - offsetof(struct ip, ip_p))
1352 #define IP_DST_OFFSET (offsetof(struct ip, ip_dst) - offsetof(struct ip, ip_p))
1365 offset = offsetof(struct ip, ip_p) + sizeof(struct ether_header);
1408 offset = offsetof(struct ip6_hdr, ip6_src) + sizeof(struct ether_header);
1645 if (m->m_pkthdr.len < (int)offsetof(lacpdu, la_reserved)) {
1650 if (m->m_len < (int)offsetof(lacpdu, la_reserved)) {
1651 m = m_pullup(m, offsetof(lacpdu, la_reserved));
1666 min_size = ETHER_HDR_LEN + offsetof(la_marker_pdu, lm_reserved);