| 115 | static void pfil_link_free(epoch_context_t); |
| 116 | |
| 117 | int |
| 118 | pfil_realloc(pfil_packet_t *p, int flags, struct ifnet *ifp) |
| 119 | { |
| 120 | struct mbuf *m; |
| 121 | |
| 122 | MPASS(flags & PFIL_MEMPTR); |
| 123 | |
| 124 | if ((m = m_devget(p->mem, PFIL_LENGTH(flags), 0, ifp, NULL)) == NULL) |
| 125 | return (ENOMEM); |
| 126 | *p = pfil_packet_align(*p); |
| 127 | *p->m = m; |
| 128 | |
| 129 | return (0); |
| 130 | } |
| 131 | |
| 132 | static __noinline int |
| 133 | pfil_fake_mbuf(pfil_func_t func, pfil_packet_t *p, struct ifnet *ifp, int flags, |
no test coverage detected