Lines Matching refs:linktype

576 static int linktype;
585 switch (linktype) {
609 linktype);
650 linktype = type;
779 bpf_error("unknown data link type 0x%x", linktype);
823 switch (linktype) {
908 if (linktype != DLT_LOOP)
962 bpf_error("direction not supported on linktype 0x%x",
963 linktype);
1004 bpf_error("direction not supported on linktype 0x%x",
1005 linktype);
1048 bpf_error("direction not supported on linktype 0x%x",
1049 linktype);
1090 bpf_error("direction not supported on linktype 0x%x",
1091 linktype);
1149 bpf_error("direction not supported on linktype 0x%x",
1150 linktype);
1177 /* Combine with test for linktype */
1263 bpf_error("direction not supported on linktype 0x%x",
1264 linktype);
1360 if (linktype == DLT_EN10MB)
1362 else if (linktype == DLT_FDDI)
1773 /* XXX should look up h/w protocol type based on linktype */
2239 switch (linktype) {
2586 if (linktype == DLT_EN10MB)
2588 if (linktype == DLT_FDDI)
2590 if (linktype == DLT_IEEE802_11 ||
2591 linktype == DLT_IEEE802_11_RADIO)
2989 if (linktype == DLT_EN10MB)
2991 if (linktype == DLT_FDDI)
2993 if (linktype == DLT_IEEE802_11 ||
2994 linktype == DLT_IEEE802_11_RADIO)
3029 if (linktype == DLT_EN10MB) {
3039 if (linktype == DLT_FDDI) {
3084 switch (linktype) {
3099 bpf_error("inbound/outbound not supported on linktype 0x%x",
3100 linktype);
3115 if (linktype == DLT_PFLOG) {
3119 bpf_error("ifname not supported on linktype 0x%x", linktype);
3138 if (linktype != DLT_PFLOG) {
3139 bpf_error("ruleset not supported on linktype 0x%x", linktype);
3159 if (linktype == DLT_PFLOG) {
3163 bpf_error("rnr not supported on linktype 0x%x", linktype);
3177 if (linktype != DLT_PFLOG) {
3178 bpf_error("srnr not supported on linktype 0x%x", linktype);
3193 if (linktype == DLT_PFLOG) {
3197 bpf_error("reason not supported on linktype 0x%x", linktype);
3210 if (linktype == DLT_PFLOG) {
3214 bpf_error("action not supported on linktype 0x%x", linktype);
3228 if (!(linktype == DLT_IEEE802_11 ||
3229 linktype == DLT_IEEE802_11_RADIO)) {
3230 bpf_error("type not supported on linktype 0x%x",
3231 linktype);
3235 if (linktype == DLT_IEEE802_11_RADIO)
3277 if (linktype == DLT_ARCNET)
3338 switch (linktype) {
3348 linktype);
3395 if (!(linktype == DLT_IEEE802_11 ||
3396 linktype == DLT_IEEE802_11_RADIO)) {
3397 bpf_error("frame direction not supported on linktype 0x%x",
3398 linktype);
3402 if (linktype == DLT_IEEE802_11_RADIO)
3417 if (linktype == DLT_IEEE802_11_RADIO)
3505 bpf_error("direction not supported on linktype 0x%x",
3506 linktype);