HomeSort by: relevance | last modified time | path
    Searched defs:icmp_type (Results 1 - 5 of 5) sorted by relevancy

  /src/dist/pf/sbin/pfctl/
pfctl_parser.c 82 static const struct icmptypeent icmp_type[] = { variable in typeref:typename:const struct icmptypeent[]
253 for (i=0; i < (sizeof (icmp_type) / sizeof(icmp_type[0]));
255 if (type == icmp_type[i].type)
256 return (&icmp_type[i]);
274 for (i=0; i < (sizeof (icmp_type) / sizeof(icmp_type[0]));
276 if (!strcmp(w, icmp_type[i].name))
277 return (&icmp_type[i]);
  /src/sbin/routed/
rdisc.c 52 u_int8_t icmp_type; /* type of message */ member in struct:icmp_ad
66 u_int8_t icmp_type; /* type of message */ member in struct:icmp_so
129 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) {
809 u.ad.icmp_type = ICMP_ROUTERADVERT;
891 u.so.icmp_type = ICMP_ROUTERSOLICIT;
924 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) {
926 } else if (p->icmp.icmp_type == ICMP_ROUTERSOLICIT) {
1025 switch (p->icmp.icmp_type) {
  /src/usr.sbin/npf/npfctl/
npf_parse.y 199 %type <num> maybe_not opt_stateful icmp_type table_type
915 : ICMPTYPE icmp_type
919 | ICMPTYPE icmp_type CODE number
923 | ICMPTYPE icmp_type CODE IDENTIFIER
928 | ICMPTYPE icmp_type CODE VAR_ID
958 icmp_type label
npf_build.c 397 int *icmp_type, *icmp_code; local in function:npfctl_build_proto_block
400 icmp_type = npfvar_get_data(popts, NPFVAR_ICMP, 0);
402 npfctl_bpf_icmp(ctx, *icmp_type, *icmp_code);
  /src/sys/netinet/
ip_icmp.h 54 uint8_t icmp_type; /* type of message, see below */ member in struct:icmp
254 static const char *icmp_type[] = { variable in typeref:typename:const char * []

Completed in 14 milliseconds