/freebsd-10.2-release/contrib/libpcap/ |
H A D | pcap-common.h | 22 extern int linktype_to_dlt(int linktype);
|
H A D | sf-pcap.c | 113 * 6 bits of a linktype value in a capture file. 177 hdr.linktype = SWAPLONG(hdr.linktype); 189 p->linktype = linktype_to_dlt(LT_LINKTYPE(hdr.linktype)); 190 p->linktype_ext = LT_LINKTYPE_EXT(hdr.linktype); 244 if (p->linktype == DLT_EN10MB) { 439 switch (p->linktype) { 455 sf_write_header(FILE *fp, int linktype, int thiszone, int snaplen) argument 466 hdr.linktype 494 pcap_setup_dump(pcap_t *p, int linktype, FILE *f, const char *fname) argument 527 int linktype; local 572 int linktype; local [all...] |
H A D | pcap-common.c | 904 int linktype; member in struct:linktype_map 989 return (map[i].linktype); 1001 linktype_to_dlt(int linktype) argument 1011 if (linktype == LINKTYPE_PFSYNC) 1017 if (linktype >= LINKTYPE_MATCHING_MIN && 1018 linktype <= LINKTYPE_MATCHING_MAX) 1019 return (linktype); 1024 for (i = 0; map[i].linktype != -1; i++) { 1025 if (map[i].linktype == linktype) [all...] |
H A D | pcap-win32.c | 490 /*Set the linktype*/ 494 p->linktype = DLT_EN10MB; 498 p->linktype = DLT_EN10MB; 521 p->linktype = DLT_FDDI; 525 p->linktype = DLT_IEEE802; 529 p->linktype = DLT_ARCNET; 533 p->linktype = DLT_ARCNET; 537 p->linktype = DLT_ATM_RFC1483; 541 p->linktype = DLT_CHDLC; 545 p->linktype [all...] |
H A D | pcap-snoop.c | 119 if (p->linktype == DLT_NULL && *((short *)(cp + 2)) == 0) { 250 p->linktype = DLT_EN10MB; 285 p->linktype = DLT_FDDI; 289 p->linktype = DLT_RAW; 292 p->linktype = DLT_IP_OVER_FC; 295 p->linktype = DLT_RAW; 298 p->linktype = DLT_NULL;
|
H A D | pcap-dag.c | 361 if (p->linktype == DLT_ERF) { 418 if (p->linktype == DLT_SUNATM) { 475 if (p->linktype == DLT_MTP2_WITH_PHDR) { 772 handle->linktype = -1; 983 p->linktype = dlt; 1048 p->linktype = 0; 1085 if(!p->linktype) 1086 p->linktype = DLT_CHDLC; 1107 if(!p->linktype) 1108 p->linktype [all...] |
H A D | sf-pcap-ng.c | 131 u_short linktype; member in struct:interface_description_block 689 idbp->linktype = SWAPSHORT(idbp->linktype); 749 p->linktype = linktype_to_dlt(idbp->linktype); 906 idbp->linktype = SWAPSHORT(idbp->linktype); 918 if (p->linktype != idbp->linktype) { 921 idbp->linktype); [all...] |
H A D | dlpisubs.c | 215 p->linktype = DLT_EN10MB; 239 p->linktype = DLT_FDDI; 245 p->linktype = DLT_IEEE802; 251 p->linktype = DLT_SUNATM;
|
H A D | pcap-pf.c | 363 p->linktype = DLT_EN10MB; 387 p->linktype = DLT_FDDI; 392 p->linktype = DLT_SLIP; 398 p->linktype = DLT_PPP; 408 p->linktype = DLT_EN10MB; 415 p->linktype = DLT_IEEE802; 440 if (p->linktype == DLT_FDDI) {
|
H A D | pcap-linux.c | 2456 * constant, as arguments, and sets "handle->linktype" to the 2505 handle->linktype = DLT_EN10MB; 2510 handle->linktype = DLT_EN3MB; 2514 handle->linktype = DLT_AX25_KISS; 2518 handle->linktype = DLT_PRONET; 2522 handle->linktype = DLT_CHAOS; 2528 handle->linktype = DLT_CAN_SOCKETCAN; 2536 handle->linktype = DLT_IEEE802; 2541 handle->linktype = DLT_ARCNET_LINUX; 2548 handle->linktype [all...] |
H A D | pcap-enet.c | 152 initdevice(char *device, int pflag, int *linktype) argument 232 *linktype = DLT_EN10MB;
|
H A D | gencode.c | 923 static int linktype; variable 929 linktype = pcap_datalink(p); 973 switch (linktype) { 1466 if (linktype >= DLT_MATCHING_MIN && 1467 linktype <= DLT_MATCHING_MAX) { 1476 bpf_error("unknown data link type %d", linktype); 2504 if (linktype == DLT_IEEE802_11_RADIO) { 2605 switch (linktype) { 2633 switch (linktype) { 2662 if (linktype [all...] |
H A D | pcap-snf.c | 24 p->linktype = dlt; 230 p->linktype = DLT_EN10MB;
|
H A D | pcap-netfilter-linux.c | 126 if (handle->linktype != DLT_NFLOG) { 207 handle->linktype = dlt; 488 handle->linktype = DLT_NFLOG; 497 handle->linktype = DLT_IPV4;
|
H A D | pcap-septel.c | 195 handle->linktype = DLT_MTP2;
|
H A D | pcap.c | 754 return (p->linktype); 779 **dlt_buffer = p->linktype; 825 if (p->linktype != dlt) 851 p->linktype = dlt; 856 p->linktype = dlt; 1630 pcap_open_dead(int linktype, int snaplen) argument 1639 p->linktype = linktype;
|
H A D | pcap-can-linux.c | 145 handle->linktype = DLT_CAN_SOCKETCAN;
|
H A D | pcap-int.h | 261 int linktype; /* Network linktype */ member in struct:pcap 262 int linktype_ext; /* Extended information stored in the linktype field of a file */
|
H A D | pcap-nit.c | 281 p->linktype = DLT_EN10MB;
|
H A D | pcap-bt-linux.c | 201 handle->linktype = DLT_BLUETOOTH_HCI_H4_WITH_PHDR;
|
H A D | pcap-canusb-linux.c | 358 handle->linktype = DLT_CAN_SOCKETCAN;
|
/freebsd-10.2-release/contrib/pf/pflogd/ |
H A D | pflogd.c | 381 hdr.linktype = hpcap->linktype; 434 hdr.linktype != hpcap->linktype ||
|
/freebsd-10.2-release/lib/libpcap/ |
H A D | Makefile | 76 pcap-linktype.7
|
H A D | pcap-netmap.c | 240 p->linktype = DLT_EN10MB;
|
/freebsd-10.2-release/contrib/libpcap/pcap/ |
H A D | pcap.h | 95 * LINKTYPE_ values, as defined in "savefile.c", in the "linktype" 129 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */ member in struct:pcap_file_header
|