Home
last modified time | relevance | path

Searched refs:icmptype (Results 1 – 10 of 10) sorted by relevance

/freebsd/sbin/ipf/iplang/
H A DBNF47 icmpbody ::= "type" icmptype [ "code" icmpcode ] .
48 icmptype ::= "echorep" | "echorep" "{" echoopts "}" ";" | "unreach" |
H A Diplang_y.y374 IL_ICMPTYPE icmptype
375 | IL_ICMPTYPE icmptype icmpcode
382 icmptype:
/freebsd/libexec/rc/
H A Drc.firewall462 ${fwcmd} add pass icmp from any to any icmptype 8
468 ${fwcmd} add pass icmp from any to any icmptype 3,4,11
/freebsd/sbin/pfctl/
H A Dparse.y614 %type <v.number> number icmptype icmp6type uid gid
3655 u_int8_t icmptype; variable
3661 icmptype = returnicmpdefault >> 8;
3662 $$ = (icmptype << 8 | $1);
3674 u_int8_t icmptype; variable
3680 icmptype = returnicmp6default >> 8;
3681 $$ = (icmptype << 8 | $1);
4578 icmp_item : icmptype {
4588 | icmptype CODE STRING {
4607 | icmptype CODE NUMBER {
[all …]
/freebsd/sbin/ipf/common/
H A Dipf_y.y107 %type <num> facility priority icmpcode seclevel secname icmptype
1277 itype: seticmptype icmptype
1323 icmptype
1325 | typelist lmore icmptype
1540 icmptype:
/freebsd/contrib/libpcap/
H A Dscanner.l418 icmptype { yylval->h = 0; return NUM; }
/freebsd/sys/netpfil/pf/
H A Dpf.c6039 PF_TEST_ATTRIB(r->type && r->type != ctx->icmptype + 1, in pf_match_rule()
6390 ctx.icmptype = pd->hdr.icmp.icmp_type; in pf_test_rule()
6392 ctx.state_icmp = pf_icmp_mapping(pd, ctx.icmptype, in pf_test_rule()
6406 ctx.icmptype = pd->hdr.icmp6.icmp6_type; in pf_test_rule()
6408 ctx.state_icmp = pf_icmp_mapping(pd, ctx.icmptype, in pf_test_rule()
8584 u_int8_t icmptype, icmpcode; in pf_test_state_icmp() local
8597 icmptype = pd->hdr.icmp.icmp_type; in pf_test_state_icmp()
8605 icmptype = pd->hdr.icmp6.icmp6_type; in pf_test_state_icmp()
8617 if (pf_icmp_mapping(pd, icmptype, &icmp_dir, &virtual_id, in pf_test_state_icmp()
8829 icmptype, icmpcode); in pf_test_state_icmp()
[all …]
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_nat6.c3964 ipf_nat6_icmpquerytype(int icmptype) in ipf_nat6_icmpquerytype() argument
3977 switch (icmptype) in ipf_nat6_icmpquerytype()
H A Dip_nat.c6018 ipf_nat_icmpquerytype(int icmptype) in ipf_nat_icmpquerytype() argument
6030 switch (icmptype) in ipf_nat_icmpquerytype()
/freebsd/sys/net/
H A Dpfvar.h1437 uint8_t icmptype; member