Searched refs:IP_HDR_ALIGNED_P (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Dip_var.h248 #define IP_HDR_ALIGNED_P(_ip) ((((uintptr_t)(_ip)) & ((uintptr_t)3)) == 0) macro
259 if (!IP_HDR_ALIGNED_P(_ip)) { \
H A Din_cksum.c430 m->m_len >= sizeof (*ip) && IP_HDR_ALIGNED_P(ip))
474 !IP_HDR_ALIGNED_P(mtod(m, caddr_t))) {
H A Dip_output.c2094 !IP_HDR_ALIGNED_P(mtod(m, caddr_t) + hoff)) {
2178 } else if (IP_HDR_ALIGNED_P(mtod(m, char *) + hoff)) {
2218 } else if (IP_HDR_ALIGNED_P(mtod(m, char *) + hoff)) {
H A Dip_input.c369 if (!IP_HDR_ALIGNED_P(mtod(_m, caddr_t))) { \
/xnu-2782.1.97/bsd/netinet6/
H A Dip6_var.h385 if (!IP_HDR_ALIGNED_P(_ip6)) { \
/xnu-2782.1.97/bsd/net/
H A Dif_bridge.c5579 if (IP_HDR_ALIGNED_P(mtod(m, caddr_t)) == 0) {

Completed in 118 milliseconds