Lines Matching refs:p_mbuf
156 struct mbuf *p_mbuf; member
1386 m = pkt->p_mbuf; in wg_handshake()
1389 if ((pkt->p_mbuf = m = m_pullup(m, m->m_pkthdr.len)) == NULL) in wg_handshake()
1550 unsigned int padded_size, last_unit = pkt->p_mbuf->m_pkthdr.len; in calculate_padding()
1582 m = pkt->p_mbuf; in wg_encrypt()
1605 pkt->p_mbuf = m; in wg_encrypt()
1622 m = pkt->p_mbuf; in wg_decrypt()
1677 pkt->p_mbuf = m; in wg_decrypt()
1737 m = pkt->p_mbuf; in wg_deliver_out()
1738 pkt->p_mbuf = NULL; in wg_deliver_out()
1805 m = pkt->p_mbuf; in wg_deliver_in()
1827 pkt->p_mbuf = NULL; in wg_deliver_in()
1868 pkt->p_mbuf = m; in wg_packet_alloc()
1877 if (pkt->p_mbuf != NULL) in wg_packet_free()
1878 m_freem(pkt->p_mbuf); in wg_packet_free()
2115 if ((pkt->p_mbuf = m_pullup(m, sizeof(struct wg_pkt_data))) == NULL) in wg_input()
2118 data = mtod(pkt->p_mbuf, struct wg_pkt_data *); in wg_input()
2183 pkt->p_mbuf = NULL; in xmit_err()
2191 pkt->p_mbuf = NULL; in xmit_err()