Searched refs:bpf_set_error (Results 1 – 4 of 4) sorted by relevance
| /src/contrib/libpcap/ |
| H A D | grammar.y.in | 250 bpf_set_error(cstate, "can't parse filter expression: %s", msg); 289 bpf_set_error(cstate, "unknown PF reason \"%s\"", reason); 331 bpf_set_error(cstate, "unknown PF action \"%s\"", action); 455 bpf_set_error(cstate, "'port' modifier applied to IP address and prefix length"); 458 bpf_set_error(cstate, "'portrange' modifier applied to IP address and prefix length"); 461 bpf_set_error(cstate, "'proto' modifier applied to IP address and prefix length"); 464 bpf_set_error(cstate, "'protochain' modifier applied to IP address and prefix length"); 474 bpf_set_error(cstate, "'port' modifier applied to IP address and netmask"); 477 bpf_set_error(cstate, "'portrange' modifier applied to IP address and netmask"); 480 bpf_set_error(cstate, "'proto' modifier applied to IP address and netmask"); [all …]
|
| H A D | scanner.l | 405 bpf_set_error(yyextra, "bogus IPv6 address %s", yytext); 412 bpf_set_error(yyextra, "IPv6 address %s not supported", yytext); 417 {B}:+({B}:+)+ { bpf_set_error(yyextra, "bogus ethernet address %s", yytext); yylval->s = NULL; ret… 540 bpf_set_error(cstate, 577 bpf_set_error(cstate, 611 bpf_set_error(cstate, 645 bpf_set_error(yyextra_arg, "number %s contains non-octal digit", in stou() 650 bpf_set_error(yyextra_arg, "number %s contains non-hex digit", in stou() 655 bpf_set_error(yyextra_arg, "number %s contains non-decimal digit", in stou() 665 bpf_set_error(yyextra_arg, "stoulen returned %d - this should not happen", ret); in stou()
|
| H A D | gencode.h | 396 void bpf_set_error(compiler_state_t *, const char *, ...)
|
| H A D | gencode.c | 439 bpf_set_error(compiler_state_t *cstate, const char *fmt, ...) in bpf_set_error() function 626 bpf_set_error(cstate, "out of memory"); in newchunk_nolongjmp() 632 bpf_set_error(cstate, "out of memory"); in newchunk_nolongjmp() 638 bpf_set_error(cstate, "out of memory"); in newchunk_nolongjmp() 1824 bpf_set_error(cstate, "unknown data link type %d", in init_linktype() 6820 bpf_set_error(cstate, "getaddrinfo(\"%s\" fails with system error: %d", in nametoport() 6839 bpf_set_error(cstate, "getaddrinfo(\"%s\") fails with error: %d", in nametoport() 6967 bpf_set_error(cstate, "'%s' is not a valid port", cpy); in stringtoport() 6979 bpf_set_error(cstate, "stoulen returned %d - this should not happen", ret); in stringtoport()
|