Lines Matching refs:linktype
920 static int linktype;
926 linktype = pcap_datalink(p);
969 switch (linktype) {
1468 if (linktype >= DLT_MATCHING_MIN &&
1469 linktype <= DLT_MATCHING_MAX) {
1478 bpf_error("unknown data link type %d", linktype);
2506 if (linktype == DLT_IEEE802_11_RADIO) {
2607 switch (linktype) {
2635 switch (linktype) {
2664 if (linktype == DLT_PPI)
2789 switch (linktype) {
2943 switch (linktype) {
3187 if (linktype == DLT_NULL || linktype == DLT_ENC) {
4385 /* Combine with test for linktype */
4697 switch (linktype) {
5425 /* XXX should look up h/w protocol type based on linktype */
5506 switch (linktype) {
5845 switch (linktype) {
6055 switch (linktype) {
6561 switch (linktype) {
6687 if (linktype != DLT_IEEE802_11_RADIO_AVS &&
6688 linktype != DLT_IEEE802_11_RADIO &&
6689 linktype != DLT_PRISM_HEADER)
7158 switch (linktype) {
7254 switch (linktype) {
7453 switch (linktype) {
7546 bpf_error("inbound/outbound not supported on linktype %d when reading savefiles",
7547 linktype);
7559 bpf_error("inbound/outbound not supported on linktype %d",
7560 linktype);
7576 if (linktype != DLT_PFLOG) {
7577 bpf_error("ifname supported only on PF linktype");
7597 if (linktype != DLT_PFLOG) {
7598 bpf_error("ruleset supported only on PF linktype");
7619 if (linktype != DLT_PFLOG) {
7620 bpf_error("rnr supported only on PF linktype");
7635 if (linktype != DLT_PFLOG) {
7636 bpf_error("srnr supported only on PF linktype");
7651 if (linktype != DLT_PFLOG) {
7652 bpf_error("reason supported only on PF linktype");
7667 if (linktype != DLT_PFLOG) {
7668 bpf_error("action supported only on PF linktype");
7732 switch (linktype) {
7755 switch (linktype) {
7779 switch (linktype) {
7903 switch (linktype) {
7934 linktype);
7971 switch (linktype) {
7990 linktype);
8274 if ( (linktype != DLT_MTP2) &&
8275 (linktype != DLT_ERF) &&
8276 (linktype != DLT_MTP2_WITH_PHDR) )
8283 if ( (linktype != DLT_MTP2) &&
8284 (linktype != DLT_ERF) &&
8285 (linktype != DLT_MTP2_WITH_PHDR) )
8293 if ( (linktype != DLT_MTP2) &&
8294 (linktype != DLT_ERF) &&
8295 (linktype != DLT_MTP2_WITH_PHDR) )
8301 if ( (linktype != DLT_MTP2) &&
8302 (linktype != DLT_ERF) &&
8303 (linktype != DLT_MTP2_WITH_PHDR) )
8310 if ( (linktype != DLT_MTP2) &&
8311 (linktype != DLT_ERF) &&
8312 (linktype != DLT_MTP2_WITH_PHDR) )
8320 if ( (linktype != DLT_MTP2) &&
8321 (linktype != DLT_ERF) &&
8322 (linktype != DLT_MTP2_WITH_PHDR) )