Searched refs:m_mtod (Results 1 – 5 of 5) sorted by relevance
429 ip = (struct ip *)m_mtod(m); in ipf_injectv4_out()518 ip6 = (struct ip6_hdr *)m_mtod(m); in ipf_injectv6_out()604 vers = (*(u_int8_t *)m_mtod(m)) >> 4; in ipf_inject_output()
5215 struct ip *ip = (__typeof__(ip))m_mtod(m); in ipsec_send_natt_keepalive()5224 struct udphdr *uh = (__typeof__(uh))(void *)((char *)m_mtod(m) + sizeof(*ip)); in ipsec_send_natt_keepalive()5226 bzero(m_mtod(m), m->m_len); in ipsec_send_natt_keepalive()5248 *(u_int8_t*)((char*)m_mtod(m) + sizeof(*ip) + sizeof(*uh)) = 0xFF; in ipsec_send_natt_keepalive()5274 struct ip6_hdr *ip6 = (__typeof__(ip6))m_mtod(m); in ipsec_send_natt_keepalive()5283 struct udphdr *uh = (__typeof__(uh))(void *)((char *)m_mtod(m) + sizeof(*ip6)); in ipsec_send_natt_keepalive()5285 bzero(m_mtod(m), m->m_len); in ipsec_send_natt_keepalive()5320 *(u_int8_t*)((char*)m_mtod(m) + sizeof(*ip6) + sizeof(*uh)) = 0xFF; in ipsec_send_natt_keepalive()
377 STUB(m_mtod);
1401 extern void *__unsafe_indexable m_mtod(struct mbuf *);1412 return __unsafe_forge_bidi_indexable(void *, m_mtod(m), m->m_len); in m_mtod_indexable()
7789 m_mtod(struct mbuf *m) function