Lines Matching defs:linktype

187 	(cs)->prevlinktype = (cs)->linktype; \
189 (cs)->linktype = (new_linktype); \
266 int linktype;
1044 cstate->linktype = cstate->outermostlinktype;
1087 switch (cstate->linktype) {
1590 if (cstate->linktype >= DLT_MATCHING_MIN &&
1591 cstate->linktype <= DLT_MATCHING_MAX) {
1597 bpf_error(cstate, "unknown data link type %d", cstate->linktype);
2013 if (cstate->linktype == DLT_NULL || cstate->linktype == DLT_ENC) {
2632 if (cstate->linktype == DLT_IEEE802_11_RADIO) {
2818 if (cstate->linktype == DLT_PPI)
3008 switch (cstate->linktype) {
3086 * if we were checking for LANE, linktype would no longer
3505 description = pcap_datalink_val_to_description(cstate->linktype);
3511 cstate->linktype);
3549 switch (cstate->linktype) {
3610 bpf_error(cstate, "'llc' not supported for linktype %d", cstate->linktype);
4618 /* Combine with test for cstate->linktype */
4921 switch (cstate->linktype) {
4946 * LANE, cstate->linktype would have been set to
5617 /* XXX should look up h/w protocol type based on cstate->linktype */
6024 switch (cstate->linktype) {
6232 switch (cstate->linktype) {
6723 switch (cstate->linktype) {
6829 if (cstate->linktype != DLT_IEEE802_11_RADIO_AVS &&
6830 cstate->linktype != DLT_IEEE802_11_RADIO &&
6831 cstate->linktype != DLT_PRISM_HEADER)
7286 switch (cstate->linktype) {
7365 switch (cstate->linktype) {
7550 switch (cstate->linktype) {
7643 bpf_error(cstate, "inbound/outbound not supported on linktype %d when reading savefiles",
7644 cstate->linktype);
7656 bpf_error(cstate, "inbound/outbound not supported on linktype %d",
7657 cstate->linktype);
7673 if (cstate->linktype != DLT_PFLOG) {
7674 bpf_error(cstate, "ifname supported only on PF linktype");
7694 if (cstate->linktype != DLT_PFLOG) {
7695 bpf_error(cstate, "ruleset supported only on PF linktype");
7716 if (cstate->linktype != DLT_PFLOG) {
7717 bpf_error(cstate, "rnr supported only on PF linktype");
7732 if (cstate->linktype != DLT_PFLOG) {
7733 bpf_error(cstate, "srnr supported only on PF linktype");
7748 if (cstate->linktype != DLT_PFLOG) {
7749 bpf_error(cstate, "reason supported only on PF linktype");
7764 if (cstate->linktype != DLT_PFLOG) {
7765 bpf_error(cstate, "action supported only on PF linktype");
7829 switch (cstate->linktype) {
7852 switch (cstate->linktype) {
7874 switch (cstate->linktype) {
8062 switch (cstate->linktype) {
8094 cstate->linktype);
8119 switch (cstate->linktype) {
8138 cstate->linktype);
8354 * - The offset of the linktype.
8416 * - The linktype field is always in EtherType format regardless
8429 * and linktype by 14 bytes so that the network header can be found
8457 * directly as the linktype. Overwrite what we already have. */
8693 cstate->linktype = cstate->prevlinktype;
8717 if ( (cstate->linktype != DLT_MTP2) &&
8718 (cstate->linktype != DLT_ERF) &&
8719 (cstate->linktype != DLT_MTP2_WITH_PHDR) )
8726 if ( (cstate->linktype != DLT_MTP2) &&
8727 (cstate->linktype != DLT_ERF) &&
8728 (cstate->linktype != DLT_MTP2_WITH_PHDR) )
8736 if ( (cstate->linktype != DLT_MTP2) &&
8737 (cstate->linktype != DLT_ERF) &&
8738 (cstate->linktype != DLT_MTP2_WITH_PHDR) )
8744 if ( (cstate->linktype != DLT_MTP2) &&
8745 (cstate->linktype != DLT_ERF) &&
8746 (cstate->linktype != DLT_MTP2_WITH_PHDR) )
8753 if ( (cstate->linktype != DLT_MTP2) &&
8754 (cstate->linktype != DLT_ERF) &&
8755 (cstate->linktype != DLT_MTP2_WITH_PHDR) )
8763 if ( (cstate->linktype != DLT_MTP2) &&
8764 (cstate->linktype != DLT_ERF) &&
8765 (cstate->linktype != DLT_MTP2_WITH_PHDR) )