Lines Matching refs:dlt
915 * DLT for an interface. Return a list of DLTs
916 * containing only the DLT this device supports.
957 pcap_set_datalink(pcap_t *p, int dlt)
967 * DLT for an interface. Check whether the new
968 * DLT is the one this interface supports.
970 if (p->linktype != dlt)
979 if (p->dlt_list[i] == dlt)
984 dlt == DLT_DOCSIS) {
996 p->linktype = dlt;
999 if (p->set_datalink_op(p, dlt) == -1)
1001 p->linktype = dlt;
1005 dlt_name = pcap_datalink_val_to_name(dlt);
1012 "DLT %d is not one of the DLTs supported by this device",
1013 dlt);
1106 int dlt;
1247 return (dlt_choices[i].dlt);
1253 pcap_datalink_val_to_name(int dlt)
1258 if (dlt_choices[i].dlt == dlt)
1265 pcap_datalink_val_to_description(int dlt)
1270 if (dlt_choices[i].dlt == dlt)