Home | History | Annotate | Download | only in libpcap

Lines Matching refs:dlt

903 		 * DLT for an interface.  Return a list of DLTs
904 * containing only the DLT this device supports.
945 pcap_set_datalink(pcap_t *p, int dlt)
955 * DLT for an interface. Check whether the new
956 * DLT is the one this interface supports.
958 if (p->linktype != dlt)
967 if (p->dlt_list[i] == dlt)
972 dlt == DLT_DOCSIS) {
984 p->linktype = dlt;
987 if (p->set_datalink_op(p, dlt) == -1)
989 p->linktype = dlt;
993 dlt_name = pcap_datalink_val_to_name(dlt);
1000 "DLT %d is not one of the DLTs supported by this device",
1001 dlt);
1094 int dlt;
1217 return (dlt_choices[i].dlt);
1223 pcap_datalink_val_to_name(int dlt)
1228 if (dlt_choices[i].dlt == dlt)
1235 pcap_datalink_val_to_description(int dlt)
1240 if (dlt_choices[i].dlt == dlt)