xref: /freebsd/sbin/ipf/libipf/prependmbt.c (revision f4f56ff43dbd30930f4b018e39ba2b9abf84551f)
1 /*
2  * Copyright (C) 2012 by Darren Reed.
3  *
4  * See the IPFILTER.LICENCE file for details on licencing.
5  *
6  * $Id: prependmbt.c,v 1.3.2.3 2012/07/22 08:04:24 darren_r Exp $
7  */
8 
9 #include "ipf.h"
10 
11 int prependmbt( fr_info_t *fin, mb_t *m)
12 {
13 	m->mb_next = *fin->fin_mp;
14 	*fin->fin_mp = m;
15 	return (0);
16 }
17