optprint.c (41edb306f05651fcaf6c74f9e3557f59f80292e1) optprint.c (efeb8bffe34422937c7f8df836afb5b817366d16)
1/* $FreeBSD$ */
2
3/*
4 * Copyright (C) 2012 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 *
8 * $Id$
9 */
10#include "ipf.h"
11
12
1/* $FreeBSD$ */
2
3/*
4 * Copyright (C) 2012 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 *
8 * $Id$
9 */
10#include "ipf.h"
11
12
13void optprint(sec, optmsk, optbits)
14 u_short *sec;
15 u_long optmsk, optbits;
13void
14optprint(u_short *sec, u_long optmsk, u_long optbits)
16{
17 u_short secmsk = sec[0], secbits = sec[1];
18 struct ipopt_names *io, *so;
19 char *s;
20
21 s = " opt ";
22 for (io = ionames; io->on_name; io++)
23 if ((io->on_bit & optmsk) &&

--- 60 unchanged lines hidden ---
15{
16 u_short secmsk = sec[0], secbits = sec[1];
17 struct ipopt_names *io, *so;
18 char *s;
19
20 s = " opt ";
21 for (io = ionames; io->on_name; io++)
22 if ((io->on_bit & optmsk) &&

--- 60 unchanged lines hidden ---