Lines Matching refs:linktype
175 (cs)->prevlinktype = (cs)->linktype; \
177 (cs)->linktype = (new_linktype); \
254 int linktype; member
1057 cstate->linktype = cstate->outermostlinktype; in init_linktype()
1105 switch (cstate->linktype) { in init_linktype()
1608 if (cstate->linktype >= DLT_MATCHING_MIN && in init_linktype()
1609 cstate->linktype <= DLT_MATCHING_MAX) { in init_linktype()
1615 bpf_error(cstate, "unknown data link type %d", cstate->linktype); in init_linktype()
2032 if (cstate->linktype == DLT_NULL || cstate->linktype == DLT_ENC) { in gen_loopback_linktype()
2651 if (cstate->linktype == DLT_IEEE802_11_RADIO) { in gen_load_802_11_header_len()
2859 if (cstate->linktype == DLT_PPI) in gen_ppi_dlt_check()
3048 switch (cstate->linktype) { in gen_linktype()
3545 description = pcap_datalink_val_to_description(cstate->linktype); in gen_linktype()
3551 cstate->linktype); in gen_linktype()
3589 switch (cstate->linktype) { in gen_llc()
3650 bpf_error(cstate, "'llc' not supported for linktype %d", cstate->linktype); in gen_llc()
5008 switch (cstate->linktype) { in gen_gateway()
6145 switch (cstate->linktype) { in gen_proto()
6351 switch (cstate->linktype) { in gen_scode()
6837 switch (cstate->linktype) { in gen_ecode()
6941 if (cstate->linktype != DLT_IEEE802_11_RADIO_AVS && in gen_load()
6942 cstate->linktype != DLT_IEEE802_11_RADIO && in gen_load()
6943 cstate->linktype != DLT_PRISM_HEADER) in gen_load()
7447 switch (cstate->linktype) { in gen_broadcast()
7525 switch (cstate->linktype) { in gen_multicast()
7709 switch (cstate->linktype) { in gen_inbound()
7813 cstate->linktype); in gen_inbound()
7826 cstate->linktype); in gen_inbound()
7841 if (cstate->linktype != DLT_PFLOG) { in gen_pf_ifname()
7862 if (cstate->linktype != DLT_PFLOG) { in gen_pf_ruleset()
7884 if (cstate->linktype != DLT_PFLOG) { in gen_pf_rnr()
7900 if (cstate->linktype != DLT_PFLOG) { in gen_pf_srnr()
7916 if (cstate->linktype != DLT_PFLOG) { in gen_pf_reason()
7932 if (cstate->linktype != DLT_PFLOG) { in gen_pf_action()
7991 switch (cstate->linktype) { in gen_p80211_type()
8014 switch (cstate->linktype) { in gen_p80211_fcdir()
8036 switch (cstate->linktype) { in gen_acode()
8328 switch (cstate->linktype) { in gen_vlan()
8360 cstate->linktype); in gen_vlan()
8385 switch (cstate->linktype) { in gen_mpls()
8404 cstate->linktype); in gen_mpls()
8958 cstate->linktype = cstate->prevlinktype; in gen_atmtype_abbrev()
8982 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
8983 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
8984 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
8991 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
8992 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
8993 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9001 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9002 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9003 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9009 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9010 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9011 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9018 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9019 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9020 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9028 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9029 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9030 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()