xref: /freebsd/sbin/ipf/libipf/prependmbt.c (revision 0d66206fff44f864ea8a4b220c3a53b4caa959a0)
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