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