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()
4902 struct ip *ip = (__typeof__(ip))m_mtod(m); in ipsec_send_natt_keepalive()4911 struct udphdr *uh = (__typeof__(uh))(void *)((char *)m_mtod(m) + sizeof(*ip)); in ipsec_send_natt_keepalive()4913 bzero(m_mtod(m), m->m_len); in ipsec_send_natt_keepalive()4935 *(u_int8_t*)((char*)m_mtod(m) + sizeof(*ip) + sizeof(*uh)) = 0xFF; in ipsec_send_natt_keepalive()4961 struct ip6_hdr *ip6 = (__typeof__(ip6))m_mtod(m); in ipsec_send_natt_keepalive()4970 struct udphdr *uh = (__typeof__(uh))(void *)((char *)m_mtod(m) + sizeof(*ip6)); in ipsec_send_natt_keepalive()4972 bzero(m_mtod(m), m->m_len); in ipsec_send_natt_keepalive()5007 *(u_int8_t*)((char*)m_mtod(m) + sizeof(*ip6) + sizeof(*uh)) = 0xFF; in ipsec_send_natt_keepalive()
376 STUB(m_mtod);
139 #define mtod(m, t) ((t)m_mtod(m))1328 extern void *m_mtod(struct mbuf *);
6713 m_mtod(struct mbuf *m) function