Lines Matching +defs:format +defs:type
338 extern void ipfwsyslog( int level, const char *format,...);
358 void ipfwsyslog( int level, const char *format,...)
371 va_start( ap, format );
372 loglen = vsnprintf(msgBuf, msgsize, format, ap);
402 static inline void ipfw_stealth_stats_incr(uint32_t type)
404 if (type >= IPFW_STEALTH_STATS_MAX)
407 ipfw_stealth_stats[type]++;
449 * This macro maps an ip pointer into a layer3 header pointer of type T
456 int type = L3HDR(struct icmp,ip)->icmp_type;
458 return (type <= ICMP_MAXTYPE && (cmd->d[0] & (1<<type)) );
467 int type = L3HDR(struct icmp, ip)->icmp_type;
468 return (type <= ICMP_MAXTYPE && (TT & (1<<type)) );
799 dyn_rule_vers1->type = p->dyn_type;
834 dyn_rule_vers1->type = p->dyn_type;
1612 * Install state of type 'type' for a dynamic session.
1613 * The hash table contains two type of rules:
1708 * Install dynamic state for rule type cmd->o.opcode
1723 DEB(printf("ipfw: install state type %d 0x%08x %u -> 0x%08x %u\n",
1801 printf("ipfw: unknown dynamic rule type %u\n", cmd->o.opcode);
2060 * src_port, dst_port port numbers, in HOST format. Only
2063 * src_ip, dst_ip ip addresses, in NETWORK format.
2067 u_int16_t src_port = 0, dst_port = 0; /* NOTE: host format */
2068 struct in_addr src_ip = { 0 } , dst_ip = { 0 }; /* NOTE: network format */
2159 PULLUP_TO(hlen + 4); /* type, code and checksum. */