Searched refs:linktype (Results 1 - 23 of 23) sorted by relevance

/external/libpcap/
H A Dsavefile.c557 int linktype; member in struct:linktype_map
824 return (map[i].linktype);
836 linktype_to_dlt(int linktype) argument
840 for (i = 0; map[i].linktype != -1; i++) {
841 if (map[i].linktype == linktype)
850 return linktype;
854 sf_write_header(FILE *fp, int linktype, int thiszone, int snaplen) argument
865 hdr.linktype = linktype;
1381 pcap_setup_dump(pcap_t *p, int linktype, FILE *f, const char *fname) argument
1414 int linktype; local
1448 int linktype; local
[all...]
H A Dpcap-linux.c1084 * constant, as arguments, and sets "handle->linktype" to the
1133 handle->linktype = DLT_EN10MB;
1138 handle->linktype = DLT_EN3MB;
1142 handle->linktype = DLT_AX25;
1146 handle->linktype = DLT_PRONET;
1150 handle->linktype = DLT_CHAOS;
1158 handle->linktype = DLT_IEEE802;
1163 handle->linktype = DLT_ARCNET_LINUX;
1170 handle->linktype = DLT_FDDI;
1215 handle->linktype
[all...]
H A Dpcap-win32.c428 /*Set the linktype*/
432 p->linktype = DLT_EN10MB;
436 p->linktype = DLT_EN10MB;
459 p->linktype = DLT_FDDI;
463 p->linktype = DLT_IEEE802;
467 p->linktype = DLT_ARCNET;
471 p->linktype = DLT_ARCNET;
475 p->linktype = DLT_ATM_RFC1483;
479 p->linktype = DLT_CHDLC;
483 p->linktype
[all...]
H A Dpcap-snoop.c119 if (p->linktype == DLT_NULL && *((short *)(cp + 2)) == 0) {
256 p->linktype = DLT_EN10MB;
291 p->linktype = DLT_FDDI;
295 p->linktype = DLT_RAW;
298 p->linktype = DLT_IP_OVER_FC;
301 p->linktype = DLT_RAW;
304 p->linktype = DLT_NULL;
H A Dpcap-dag.c309 if (p->linktype == DLT_SUNATM) {
372 if (p->linktype == DLT_MTP2_WITH_PHDR) {
671 handle->linktype = -1;
833 p->linktype = dlt;
898 p->linktype = 0;
928 if(!p->linktype)
929 p->linktype = DLT_CHDLC;
953 if(!p->linktype)
954 p->linktype = DLT_EN10MB;
971 if(!p->linktype)
[all...]
H A Dpcap-pf.c373 p->linktype = DLT_EN10MB;
397 p->linktype = DLT_FDDI;
402 p->linktype = DLT_SLIP;
408 p->linktype = DLT_PPP;
418 p->linktype = DLT_EN10MB;
425 p->linktype = DLT_IEEE802;
450 if (p->linktype == DLT_FDDI) {
H A Dpcap-enet.c152 initdevice(char *device, int pflag, int *linktype) argument
232 *linktype = DLT_EN10MB;
H A Dpcap.c221 return (p->linktype);
240 **dlt_buffer = p->linktype;
269 if (p->linktype != dlt)
295 p->linktype = dlt;
300 p->linktype = dlt;
756 pcap_open_dead(int linktype, int snaplen) argument
765 p->linktype = linktype;
H A Dgencode.c796 static int linktype; variable
802 linktype = pcap_datalink(p);
838 switch (linktype) {
1316 bpf_error("unknown data link type %d", linktype);
2006 if (linktype == DLT_PPI)
2030 switch (linktype) {
2114 switch (linktype) {
2160 switch (linktype) {
2415 if (linktype == DLT_NULL || linktype
[all...]
H A Dpcap-int.h150 int linktype; member in struct:pcap
H A Dpcap-septel.c224 handle->linktype = DLT_MTP2;
H A Dpcap.h90 * LINKTYPE_ values, as defined in "savefile.c", in the "linktype"
120 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */ member in struct:pcap_file_header
H A Dpcap1.h87 * LINKTYPE_ values, as defined in "savefile.c", in the "linktype"
138 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */ member in struct:pcap1_info_packet
H A Dpcap-bpf.c748 p->linktype = v;
791 if (p->linktype == DLT_EN10MB) {
827 if (p->linktype == DLT_EN10MB && p->dlt_count == 0) {
H A Dpcap-dlpi.c425 * it should check "p->linktype" and reject the send request if
792 p->linktype = DLT_EN10MB;
816 p->linktype = DLT_FDDI;
824 p->linktype = DLT_IEEE802;
830 p->linktype = DLT_SUNATM;
H A Dpcap-nit.c290 p->linktype = DLT_EN10MB;
H A Dpcap-snit.c362 p->linktype = DLT_EN10MB;
H A Dpcap-dos.c168 pcap->linktype = DLT_EN10MB; /* !! */
977 pcap_save.linktype = _eth_get_hwtype (NULL, NULL);
/external/grub/netboot/
H A D3c90x.c686 unsigned short linktype; local
801 linktype = 0x0008;
805 linktype = 0x0006;
810 linktype = 0x0005;
815 linktype = 0x0003;
820 linktype = 0x0001;
825 linktype = 0x0006;
830 linktype = 0x0008;
835 linktype = 0x0008;
840 linktype
[all...]
/external/ppp/pppd/include/
H A Dpcap-int.h71 int linktype; member in struct:pcap
/external/libnfc-nxp/Linux_x86/
H A DphDal4Nfc.c567 switch(pn544_dev->linktype)
/external/qemu/
H A Dnet-android.c2040 uint32_t linktype; member in struct:pcap_file_hdr
2111 hdr.linktype = 1;
H A Dnet.c1936 uint32_t linktype; member in struct:pcap_file_hdr
2007 hdr.linktype = 1;

Completed in 302 milliseconds