Searched refs:rulebuf (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/sys/netinet/libalias/
H A Dalias_db.c2807 u_int32_t rulebuf[255]; local
2810 i = fill_rule(rulebuf, sizeof(rulebuf), fwhole,
2814 r = setsockopt(la->fireWallFD, IPPROTO_IP, IP_FW_ADD, rulebuf, i);
2818 i = fill_rule(rulebuf, sizeof(rulebuf), fwhole,
2822 r = setsockopt(la->fireWallFD, IPPROTO_IP, IP_FW_ADD, rulebuf, i);
/freebsd-10.0-release/sbin/ipfw/
H A Dipfw2.c2842 * Rules are added into the 'rulebuf' and then copied in the correct order
2856 * rules are added into the 'rulebuf' and then copied in
2861 static uint32_t rulebuf[255], actbuf[255], cmdbuf[255]; local
2887 bzero(rulebuf, sizeof(rulebuf));
2889 rule = (struct ip_fw *)rulebuf;
2893 rblen = sizeof(rulebuf) / sizeof(rulebuf[0]);
2894 rblen -= offsetof(struct ip_fw, cmd) / sizeof(rulebuf[0]);

Completed in 183 milliseconds