Lines Matching defs:linktype

923 static int linktype;
929 linktype = pcap_datalink(p);
973 switch (linktype) {
1466 if (linktype >= DLT_MATCHING_MIN &&
1467 linktype <= DLT_MATCHING_MAX) {
1476 bpf_error("unknown data link type %d", linktype);
2504 if (linktype == DLT_IEEE802_11_RADIO) {
2605 switch (linktype) {
2633 switch (linktype) {
2662 if (linktype == DLT_PPI)
2787 switch (linktype) {
2941 switch (linktype) {
3185 if (linktype == DLT_NULL || linktype == DLT_ENC) {
4389 /* Combine with test for linktype */
4698 switch (linktype) {
5426 /* XXX should look up h/w protocol type based on linktype */
5507 switch (linktype) {
5846 switch (linktype) {
6056 switch (linktype) {
6562 switch (linktype) {
6688 if (linktype != DLT_IEEE802_11_RADIO_AVS &&
6689 linktype != DLT_IEEE802_11_RADIO &&
6690 linktype != DLT_PRISM_HEADER)
7159 switch (linktype) {
7255 switch (linktype) {
7454 switch (linktype) {
7547 bpf_error("inbound/outbound not supported on linktype %d when reading savefiles",
7548 linktype);
7560 bpf_error("inbound/outbound not supported on linktype %d",
7561 linktype);
7577 if (linktype != DLT_PFLOG) {
7578 bpf_error("ifname supported only on PF linktype");
7598 if (linktype != DLT_PFLOG) {
7599 bpf_error("ruleset supported only on PF linktype");
7620 if (linktype != DLT_PFLOG) {
7621 bpf_error("rnr supported only on PF linktype");
7636 if (linktype != DLT_PFLOG) {
7637 bpf_error("srnr supported only on PF linktype");
7652 if (linktype != DLT_PFLOG) {
7653 bpf_error("reason supported only on PF linktype");
7668 if (linktype != DLT_PFLOG) {
7669 bpf_error("action supported only on PF linktype");
7733 switch (linktype) {
7756 switch (linktype) {
7780 switch (linktype) {
7904 switch (linktype) {
7935 linktype);
7972 switch (linktype) {
7991 linktype);
8265 if ( (linktype != DLT_MTP2) &&
8266 (linktype != DLT_ERF) &&
8267 (linktype != DLT_MTP2_WITH_PHDR) )
8274 if ( (linktype != DLT_MTP2) &&
8275 (linktype != DLT_ERF) &&
8276 (linktype != DLT_MTP2_WITH_PHDR) )
8284 if ( (linktype != DLT_MTP2) &&
8285 (linktype != DLT_ERF) &&
8286 (linktype != DLT_MTP2_WITH_PHDR) )