printaddr.c (41edb306f05651fcaf6c74f9e3557f59f80292e1) | printaddr.c (efeb8bffe34422937c7f8df836afb5b817366d16) |
---|---|
1/* 2 * Copyright (C) 2012 by Darren Reed. 3 * 4 * See the IPFILTER.LICENCE file for details on licencing. 5 * 6 * $Id$ 7 */ 8 9#include "ipf.h" 10 11void | 1/* 2 * Copyright (C) 2012 by Darren Reed. 3 * 4 * See the IPFILTER.LICENCE file for details on licencing. 5 * 6 * $Id$ 7 */ 8 9#include "ipf.h" 10 11void |
12printaddr(family, type, base, ifidx, addr, mask) 13 int family, type, ifidx; 14 char *base; 15 u_32_t *addr, *mask; | 12printaddr(int family, int type, char *base, int ifidx, u_32_t *addr, 13 u_32_t *mask) |
16{ 17 char *suffix; 18 19 switch (type) 20 { 21 case FRI_BROADCAST : 22 suffix = "bcast"; 23 break; --- 52 unchanged lines hidden --- | 14{ 15 char *suffix; 16 17 switch (type) 18 { 19 case FRI_BROADCAST : 20 suffix = "bcast"; 21 break; --- 52 unchanged lines hidden --- |