Searched refs:linktype (Results 1 – 17 of 17) sorted by relevance
/openbsd/lib/libpcap/ |
H A D | savefile.c | 82 hdr.linktype = linktype; in sf_write_header() 98 hp->linktype = SWAPLONG(hp->linktype); in swap_hdr() 181 switch (hdr.linktype) { in pcap_fopen_offline() 190 p->linktype = DLT_RAW; in pcap_fopen_offline() 195 p->linktype = DLT_SLIP_BSDOS; in pcap_fopen_offline() 200 p->linktype = DLT_PPP_BSDOS; in pcap_fopen_offline() 205 p->linktype = DLT_LOOP; in pcap_fopen_offline() 210 p->linktype = DLT_ENC; in pcap_fopen_offline() 215 p->linktype = DLT_PFSYNC; in pcap_fopen_offline() 219 p->linktype = hdr.linktype; in pcap_fopen_offline() [all …]
|
H A D | gencode.c | 609 linktype); in nl2X_stmt() 650 linktype = type; in init_linktype() 963 linktype); in gen_hostop() 1005 linktype); in gen_hostop6() 1049 linktype); in gen_ehostop() 1091 linktype); in gen_fhostop() 1150 linktype); in gen_dnhostop() 1264 linktype); in gen_host() 3100 linktype); in gen_inbound() 3231 linktype); in gen_p80211_type() [all …]
|
H A D | pcap.c | 255 return (p->linktype); in pcap_datalink() 274 **dlt_buffer = p->linktype; in pcap_list_datalinks() 641 pcap_open_dead(int linktype, int snaplen) in pcap_open_dead() argument 649 p->linktype = linktype; in pcap_open_dead()
|
H A D | pcap-int.h | 82 int linktype; member
|
H A D | pcap-bpf.c | 537 p->linktype = v; in pcap_activate() 966 if (p->linktype != dlt) in pcap_set_datalink() 984 p->linktype = dlt; in pcap_set_datalink()
|
H A D | pcap.h | 78 bpf_u_int32 linktype; /* data link type (DLT_*) */ member
|
/openbsd/usr.sbin/tcpdump/ |
H A D | privsep_pcap.c | 77 hpcap.linktype = link; in setfilter() 288 p->linktype = v; in priv_pcap_live() 291 if (p->linktype == DLT_PFLOG && p->snapshot < 160) in priv_pcap_live() 342 hp->linktype = swap32(hp->linktype); in swap_hdr() 409 p->linktype = hdr.linktype; in priv_pcap_offline() 415 switch (p->linktype) { in priv_pcap_offline() 457 sf_write_header(FILE *fp, int linktype, int thiszone, int snaplen) in sf_write_header() argument 469 hdr.linktype = linktype; in sf_write_header() 508 (void)sf_write_header(f, p->linktype, p->tzoff, p->snapshot); in priv_pcap_dump_open()
|
H A D | tcpdump.c | 513 pcap_print_linktype(pd->linktype); in main()
|
/openbsd/sbin/pflogd/ |
H A D | pflogd.c | 250 p->linktype = dlt; in pflog_read_live() 388 hdr.linktype = hpcap->linktype; in reset_dump() 434 hdr.linktype != hpcap->linktype || in scan_dump()
|
H A D | privsep.c | 263 hpcap->linktype = DLT_PFLOG; in priv_init_pcap()
|
/openbsd/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/ |
H A D | MM_Unix.pm | 2514 my $linktype = $attribs{LINKTYPE}; 2515 $linktype = $self->{LINKTYPE} unless defined $linktype; 2516 if (defined $linktype and $linktype eq '') { 2519 $linktype = '$(LINKTYPE)' unless defined $linktype; 2521 linkext :: $linktype 3812 for my $linktype (qw(dynamic static)) { 3814 push @m, "subdirs-test_$linktype :: $directdeps\n"; 3825 $deps = $db eq 'db' ? $directdeps : "subdirs-test_$linktype"; 3826 if ($linktype eq 'static' and $self->needs_linking) { 3833 push @m, "test${db}_$linktype :: $deps\n"; [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Pod-Simple/lib/Pod/Simple/ |
H A D | HTML.pm | 462 my($token, $type, $tagname, $linkto, $linktype); 471 $linktype = $token->attr('type') || 'insane'; 479 print $fh qq{<a href="$linkto" class="podlink$linktype"\n>};
|
/openbsd/sys/net/ |
H A D | bpf.c | 154 u_int linktype; in bpf_movein() local 166 linktype = d->bd_bif->bif_dlt; in bpf_movein() 167 switch (linktype) { in bpf_movein() 260 if (linktype == DLT_LOOP) { in bpf_movein() 279 *(u_int *)(mtag + 1) = linktype; in bpf_movein()
|
/openbsd/usr.sbin/ripd/ |
H A D | ripd.h | 185 u_int8_t linktype; member
|
/openbsd/libexec/spamlogd/ |
H A D | spamlogd.c | 160 p->linktype = dlt; in pflog_read_live()
|
/openbsd/usr.sbin/pppd/ |
H A D | options.c | 1108 pc.linktype = DLT_PPP; 1124 pc.linktype = DLT_PPP;
|
/openbsd/sbin/isakmpd/ |
H A D | log.c | 453 sf_hdr.linktype = DLT_LOOP; in log_packet_init()
|