Lines Matching refs:linktype
177 (cs)->prevlinktype = (cs)->linktype; \
179 (cs)->linktype = (new_linktype); \
256 int linktype; member
1150 cstate->linktype = cstate->outermostlinktype; in init_linktype()
1198 switch (cstate->linktype) { in init_linktype()
1709 if (cstate->linktype >= DLT_MATCHING_MIN && in init_linktype()
1710 cstate->linktype <= DLT_MATCHING_MAX) { in init_linktype()
1716 bpf_set_error(cstate, "unknown data link type %d", cstate->linktype); in init_linktype()
2144 if (cstate->linktype == DLT_NULL || cstate->linktype == DLT_ENC) { in gen_loopback_linktype()
2763 if (cstate->linktype == DLT_IEEE802_11_RADIO) { in gen_load_802_11_header_len()
2971 if (cstate->linktype == DLT_PPI) in gen_ppi_dlt_check()
3160 switch (cstate->linktype) { in gen_linktype()
3641 description = pcap_datalink_val_to_description_or_dlt(cstate->linktype); in gen_linktype()
3680 switch (cstate->linktype) { in gen_llc_internal()
3742 pcap_datalink_val_to_description_or_dlt(cstate->linktype)); in gen_llc_internal()
5217 switch (cstate->linktype) { in gen_gateway()
6518 switch (cstate->linktype) { in gen_proto()
6676 switch (cstate->linktype) { in gen_scode()
7202 switch (cstate->linktype) { in gen_ecode()
7315 if (cstate->linktype != DLT_IEEE802_11_RADIO_AVS && in gen_load_internal()
7316 cstate->linktype != DLT_IEEE802_11_RADIO && in gen_load_internal()
7317 cstate->linktype != DLT_PRISM_HEADER) in gen_load_internal()
7936 switch (cstate->linktype) { in gen_broadcast()
8021 switch (cstate->linktype) { in gen_multicast()
8212 switch (cstate->linktype) { in gen_inbound()
8325 pcap_datalink_val_to_description_or_dlt(cstate->linktype)); in gen_inbound()
8338 pcap_datalink_val_to_description_or_dlt(cstate->linktype)); in gen_inbound()
8360 if (cstate->linktype != DLT_PFLOG) { in gen_pf_ifname()
8389 if (cstate->linktype != DLT_PFLOG) { in gen_pf_ruleset()
8418 if (cstate->linktype != DLT_PFLOG) { in gen_pf_rnr()
8441 if (cstate->linktype != DLT_PFLOG) { in gen_pf_srnr()
8464 if (cstate->linktype != DLT_PFLOG) { in gen_pf_reason()
8487 if (cstate->linktype != DLT_PFLOG) { in gen_pf_action()
8595 switch (cstate->linktype) { in gen_p80211_type()
8625 switch (cstate->linktype) { in gen_p80211_fcdir()
8656 switch (cstate->linktype) { in gen_acode()
8968 switch (cstate->linktype) { in gen_vlan()
9003 pcap_datalink_val_to_description_or_dlt(cstate->linktype)); in gen_vlan()
9041 switch (cstate->linktype) { in gen_mpls()
9060 pcap_datalink_val_to_description_or_dlt(cstate->linktype)); in gen_mpls()
9564 cstate->linktype = cstate->prevlinktype; in gen_atmtype_llc()
9705 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9706 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9707 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9714 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9715 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9716 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9724 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9725 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9726 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9732 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9733 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9734 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9741 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9742 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9743 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()
9751 if ( (cstate->linktype != DLT_MTP2) && in gen_mtp2type_abbrev()
9752 (cstate->linktype != DLT_ERF) && in gen_mtp2type_abbrev()
9753 (cstate->linktype != DLT_MTP2_WITH_PHDR) ) in gen_mtp2type_abbrev()