Home | History | Annotate | Download | only in libpcap

Lines Matching refs:magic

858 	hdr.magic = TCPDUMP_MAGIC;
984 bpf_u_int32 magic;
1009 magic = hdr.magic;
1010 if (magic != TCPDUMP_MAGIC && magic != KUZNETZOV_TCPDUMP_MAGIC) {
1011 magic = SWAPLONG(magic);
1012 if (magic != TCPDUMP_MAGIC && magic != KUZNETZOV_TCPDUMP_MAGIC) {
1020 if (magic == KUZNETZOV_TCPDUMP_MAGIC) {
1023 * changes the packet header but not the magic number,
1024 * and some other versions with this magic number have
1048 if (magic == KUZNETZOV_TCPDUMP_MAGIC && p->linktype == DLT_EN10MB) {
1184 * libpcap, but if the file has the magic number for an