/dports/net/libtrace/libtrace-3.0.19/lib/ |
H A D | link_wireless.c | 182 switch (linktype) { in trace_get_wireless_tsft() 217 switch(linktype) { in trace_get_wireless_flags() 241 switch (linktype) { in trace_get_wireless_rate() 265 switch (linktype) { in trace_get_wireless_freq() 300 switch (linktype) { 333 switch(linktype) { 363 switch (linktype) { 389 switch(linktype) { in trace_get_wireless_signal_strength_dbm() 413 switch (linktype) { in trace_get_wireless_noise_strength_dbm() 437 switch (linktype) { in trace_get_wireless_signal_strength_db() [all …]
|
H A D | protocols_pktmeta.c | 132 libtrace_linktype_t *linktype, in trace_get_packet_meta() argument 138 assert(linktype != NULL); in trace_get_packet_meta() 144 switch (*linktype) { in trace_get_packet_meta() 173 libtrace_linktype_t *linktype, in trace_get_payload_from_meta() argument 181 assert(linktype != NULL); in trace_get_payload_from_meta() 184 switch(*linktype) { in trace_get_payload_from_meta() 192 *linktype = TRACE_TYPE_NONE; in trace_get_payload_from_meta() 194 *linktype = arphrd_type_to_libtrace(arphrd); in trace_get_payload_from_meta() 198 linktype, remaining); in trace_get_payload_from_meta() 202 linktype, remaining); in trace_get_payload_from_meta() [all …]
|
H A D | protocols_l2.c | 341 libtrace_linktype_t *linktype, in trace_get_layer2() argument 348 assert(linktype != NULL); in trace_get_layer2() 355 *linktype = packet->link_type; in trace_get_layer2() 369 switch(*linktype) { in trace_get_layer2() 401 linktype, remaining); in trace_get_layer2() 404 switch (*linktype) { in trace_get_layer2() 464 libtrace_linktype_t linktype, in trace_get_payload_from_layer2() argument 475 switch(linktype) { in trace_get_payload_from_layer2() 569 libtrace_linktype_t linktype; in trace_get_source_mac() local 576 switch (linktype) { in trace_get_source_mac() [all …]
|
H A D | linktypes.c | 53 libtrace_linktype_t pcap_linktype_to_libtrace(libtrace_dlt_t linktype) in pcap_linktype_to_libtrace() argument 55 switch(linktype) { in pcap_linktype_to_libtrace() 126 switch (linktype) { in pcap_dlt_to_pcap_linktype() 129 return linktype; in pcap_dlt_to_pcap_linktype() 138 libtrace_rt_types_t pcap_linktype_to_rt(libtrace_dlt_t linktype) in pcap_linktype_to_rt() argument 141 return pcap_dlt_to_pcap_linktype(linktype) + TRACE_RT_DATA_DLT; in pcap_linktype_to_rt() 144 libtrace_rt_types_t bpf_linktype_to_rt(libtrace_dlt_t linktype) { in bpf_linktype_to_rt() argument 145 return pcap_dlt_to_pcap_linktype(linktype) + TRACE_RT_DATA_BPF; in bpf_linktype_to_rt() 179 uint8_t libtrace_to_erf_type(libtrace_linktype_t linktype) in libtrace_to_erf_type() argument 181 switch(linktype) { in libtrace_to_erf_type() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/win32/ |
H A D | Configure | 15 my $linktype; 28 'linktype=s' => \$linktype, 39 if ($help == 1 || !defined($config) || !defined($linktype) || 72 $linktype = lc($linktype); 73 if (($linktype ne "static") && ($linktype ne "dynamic")) { 74 $linktype = "static"; 200 "lnk" => [ "^LINKTYPE=", "LINKTYPE=$linktype" ], 248 $linktype eq "dynamic" ? "libsnmp_dll" : "libsnmp") { 267 if ($linktype eq "dynamic") { 305 print " Link type: $linktype\n";
|
/dports/net/libpcap/libpcap-1.10.1/ |
H A D | sf-pcap.c | 214 hdr.linktype = SWAPLONG(hdr.linktype); in pcap_check_header() 252 p->linktype = linktype_to_dlt(LT_LINKTYPE(hdr.linktype)); in pcap_check_header() 733 hdr.linktype = linktype; in sf_write_header() 798 int linktype; in pcap_dump_open() local 810 linktype = dlt_to_linktype(p->linktype); in pcap_dump_open() 883 int linktype; in pcap_dump_fopen() local 885 linktype = dlt_to_linktype(p->linktype); in pcap_dump_fopen() 889 p->linktype); in pcap_dump_fopen() 901 int linktype; in pcap_dump_open_append() local 905 linktype = dlt_to_linktype(p->linktype); in pcap_dump_open_append() [all …]
|
H A D | pcap-dag.c | 959 p->linktype = -1; in dag_activate() 1203 p->linktype = dlt; in dag_set_datalink() 1271 p->linktype = 0; 1310 if(!p->linktype) 1332 if(!p->linktype) 1344 if(!p->linktype) 1358 if(!p->linktype) 1367 if(!p->linktype) 1376 if(!p->linktype) 1402 if(!p->linktype) [all …]
|
/dports/security/nmap/nmap-7.91/libpcap/ |
H A D | sf-pcap.c | 214 hdr.linktype = SWAPLONG(hdr.linktype); in pcap_check_header() 253 p->linktype = linktype_to_dlt(LT_LINKTYPE(hdr.linktype)); in pcap_check_header() 728 hdr.linktype = linktype; in sf_write_header() 789 int linktype; in pcap_dump_open() local 801 linktype = dlt_to_linktype(p->linktype); in pcap_dump_open() 874 int linktype; in pcap_dump_fopen() local 876 linktype = dlt_to_linktype(p->linktype); in pcap_dump_fopen() 880 p->linktype); in pcap_dump_fopen() 892 int linktype; in pcap_dump_open_append() local 896 linktype = dlt_to_linktype(p->linktype); in pcap_dump_open_append() [all …]
|
H A D | pcap-dag.c | 960 p->linktype = -1; in dag_activate() 1228 p->linktype = dlt; in dag_set_datalink() 1296 p->linktype = 0; 1335 if(!p->linktype) 1357 if(!p->linktype) 1369 if(!p->linktype) 1383 if(!p->linktype) 1392 if(!p->linktype) 1401 if(!p->linktype) 1427 if(!p->linktype) [all …]
|
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/output-plugins/ |
H A D | spo_log_tcpdump.c | 102 int linktype; member 202 data->linktype = DLT_EN10MB; in ParseTcpdumpArgs() 242 data->linktype = DLT_EN10MB; in ParseTcpdumpArgs() 255 data->linktype = DLT_ENC; in ParseTcpdumpArgs() 266 data->linktype = DLT_FDDI; in ParseTcpdumpArgs() 272 data->linktype = DLT_CHDLC; in ParseTcpdumpArgs() 278 data->linktype = DLT_SLIP; in ParseTcpdumpArgs() 283 data->linktype = DLT_PPP; in ParseTcpdumpArgs() 303 data->linktype = DLT_PFLOG; in ParseTcpdumpArgs() 372 if ( data->linktype != p->linktype ) in LogTcpdumpSingle() [all …]
|
/dports/security/barnyard2/barnyard2-2-1.13/src/output-plugins/ |
H A D | spo_log_tcpdump.c | 102 int linktype; member 202 data->linktype = DLT_EN10MB; in ParseTcpdumpArgs() 242 data->linktype = DLT_EN10MB; in ParseTcpdumpArgs() 255 data->linktype = DLT_ENC; in ParseTcpdumpArgs() 266 data->linktype = DLT_FDDI; in ParseTcpdumpArgs() 272 data->linktype = DLT_CHDLC; in ParseTcpdumpArgs() 278 data->linktype = DLT_SLIP; in ParseTcpdumpArgs() 283 data->linktype = DLT_PPP; in ParseTcpdumpArgs() 303 data->linktype = DLT_PFLOG; in ParseTcpdumpArgs() 372 if ( data->linktype != p->linktype ) in LogTcpdumpSingle() [all …]
|
/dports/net/ipgrab/ipgrab-0.9.10/src/ |
H A D | datalink.c | 73 int linktype = -1; in datalink_pcap() local 82 linktype = DATALINK_TYPE_NULL; in datalink_pcap() 86 linktype = DATALINK_TYPE_ETHERNET; in datalink_pcap() 90 linktype = DATALINK_TYPE_SLIP; in datalink_pcap() 94 linktype = DATALINK_TYPE_PPP; in datalink_pcap() 99 linktype = DATALINK_TYPE_RAWIP; in datalink_pcap() 115 datalink(linktype, tv, h->caplen, h->len, pkt); in datalink_pcap() 125 void datalink(int linktype, struct timeval ts, u_int32_t captured_length, in datalink() argument 193 switch(linktype) in datalink() 216 error_fatal("\ncannot handle data link type %d", linktype); in datalink()
|
/dports/devel/tcllib/tcllib-1.20/modules/practcl/build/class/ |
H A D | metaclass.tcl | 85 foreach linktype [$obj linktype] { 86 my link add $linktype $obj 95 lassign $args linktype object 96 if {[info exists links($linktype)] && $object in $links($linktype)} { 99 lappend links($linktype) $object 108 foreach {linktype elements} [array get links $ltype] { 114 set links($linktype) $nlist 123 set linktype [lindex $args 0] 124 if {![info exists links($linktype)]} { 127 return $links($linktype)
|
/dports/devel/tcllibc/tcllib-1.20/modules/practcl/build/class/ |
H A D | metaclass.tcl | 85 foreach linktype [$obj linktype] { 86 my link add $linktype $obj 95 lassign $args linktype object 96 if {[info exists links($linktype)] && $object in $links($linktype)} { 99 lappend links($linktype) $object 108 foreach {linktype elements} [array get links $ltype] { 114 set links($linktype) $nlist 123 set linktype [lindex $args 0] 124 if {![info exists links($linktype)]} { 127 return $links($linktype)
|
/dports/security/masscan/masscan-1.3.2/src/ |
H A D | rawsock-pcapfile.c | 147 int linktype; member 193 return handle->linktype; in pcapfile_datalink() 533 unsigned linktype; in pcapfile_openread() local 598 if (linktype == 0) in pcapfile_openread() 599 linktype = 1; in pcapfile_openread() 600 switch (linktype) { in pcapfile_openread() 658 capfile->linktype = linktype; in pcapfile_openread() 677 buf[20] = (char)(linktype>>0); in pcapfile_openwrite() 678 buf[21] = (char)(linktype>>8); in pcapfile_openwrite() 708 capfile->linktype = linktype; in pcapfile_openwrite() [all …]
|
/dports/www/sfeed/sfeed-1.0/ |
H A D | sfeed_web.c | 13 static char linkhref[4096], linktype[256], basehref[4096]; variable 33 linktype[0] = '\0'; in xmltagstart() 47 if (strncasecmp(linktype, STRP("application/atom")) && in xmltagstartparsed() 48 strncasecmp(linktype, STRP("application/xml")) && in xmltagstartparsed() 49 strncasecmp(linktype, STRP("application/rss"))) in xmltagstartparsed() 65 printvalue(linktype); in xmltagstartparsed() 85 linktype[0] = '\0'; in xmlattrstart() 99 strlcat(linktype, v, sizeof(linktype)); in xmlattr()
|
/dports/dns/dnsjit/dnsjit-1.2.2/src/input/ |
H A D | fpcap.c | 150 self->linktype = DLT_RAW; in _open() 154 self->linktype = DLT_FR; in _open() 161 self->linktype = DLT_SLIP_BSDOS; in _open() 164 self->linktype = DLT_PPP_BSDOS; in _open() 167 self->linktype = DLT_C_HDLC; in _open() 170 self->linktype = DLT_ATM_CLIP; in _open() 173 self->linktype = DLT_PPP_SERIAL; in _open() 176 self->linktype = DLT_PPP_ETHER; in _open() 179 self->linktype = self->network; in _open() 184 self->prod_pkt.linktype = self->linktype; in _open() [all …]
|
H A D | mmpcap.c | 163 self->linktype = DLT_RAW; in input_mmpcap_open() 167 self->linktype = DLT_FR; in input_mmpcap_open() 174 self->linktype = DLT_SLIP_BSDOS; in input_mmpcap_open() 177 self->linktype = DLT_PPP_BSDOS; in input_mmpcap_open() 180 self->linktype = DLT_C_HDLC; in input_mmpcap_open() 183 self->linktype = DLT_ATM_CLIP; in input_mmpcap_open() 186 self->linktype = DLT_PPP_SERIAL; in input_mmpcap_open() 189 self->linktype = DLT_PPP_ETHER; in input_mmpcap_open() 192 self->linktype = self->network; in input_mmpcap_open() 196 self->prod_pkt.linktype = self->linktype; in input_mmpcap_open() [all …]
|
/dports/devel/py-pymisp/pymisp-2.4.128/pymisp/data/misp-objects/tools/ |
H A D | alfred_links_to_relarelationships.py | 24 for linktype in links: 25 link_name = linktype['name'].lower().replace('_', '-') 26 link_description = linktype['description'] 41 linktype['name'] = link_name 42 linktype['format'] = [name_ontology] 43 relationships['values'].append(linktype)
|
/dports/net/tcpview/tcpview-1.0/ |
H A D | savefile.c | 63 u_long linktype; member 71 sf_write_header(fp, linktype, thiszone, snaplen, precision) in sf_write_header() argument 73 int linktype; 87 hdr.linktype = linktype; 104 hp->linktype = SWAPLONG(hp->linktype); 151 *linktypep = hdr.linktype; 252 sf_write_init(fname, linktype, thiszone, snaplen, precision) in sf_write_init() argument 254 int linktype; 275 linktype, thiszone, snaplen, precision);
|
/dports/net/scapy/scapy-2.4.5/scapy/arch/ |
H A D | common.py | 96 linktype=None, # type: Optional[int] argument 121 if not linktype: 132 linktype = ARPHRD_TO_DLT.get(arphd) 136 if not linktype and conf.use_bpf: 137 linktype = ARPHDR_ETHER 138 if linktype is not None: 140 MTU, linktype, ctypes.byref(bpf), bpf_filter, 0, -1
|
/dports/security/base/base-1.4.5/contrib/SnortUnified/ |
H A D | pcaptodb.pl | 58 my $linktype = Net::Pcap::datalink($pcap); 59 if ($linktype == DLT_EN10MB) 63 elsif ($linktype == DLT_NULL) 67 elsif ($linktype == DLT_RAW) 71 elsif ($linktype == DLT_LINUX_SLL) 75 elsif ($linktype == DLT_PPP)
|
/dports/www/joomla3/joomla3-3.9.24/modules/mod_menu/tmpl/ |
H A D | default_heading.php | 15 $linktype = $item->title; variable 22 $linktype = JHtml::_('image', $item->menu_image, $item->title, $image_attributes); variable 26 $linktype = JHtml::_('image', $item->menu_image, $item->title); variable 31 $linktype .= '<span class="image-title">' . $item->title . '</span>'; 36 <span class="nav-header <?php echo $anchor_css; ?>"<?php echo $title; ?>><?php echo $linktype; ?></…
|
H A D | default_separator.php | 15 $linktype = $item->title; variable 22 $linktype = JHtml::_('image', $item->menu_image, $item->title, $image_attributes); variable 26 $linktype = JHtml::_('image', $item->menu_image, $item->title); variable 31 $linktype .= '<span class="image-title">' . $item->title . '</span>'; 36 <span class="separator <?php echo $anchor_css; ?>"<?php echo $title; ?>><?php echo $linktype; ?></s…
|
/dports/net/p5-Net-TcpDumpLog/Net-TcpDumpLog-0.11/ |
H A D | TcpDumpLog.pm | 36 $self->{linktype} = undef; 68 my ($header,$length,$ident,$version,$linktype,$header_rec, 105 $linktype) = unpack('a4nnNNNN',$header); 116 $linktype) = unpack('a4vvVVVV',$header); 127 $linktype) = unpack('a4nnNNNN',$header); 139 $linktype) = unpack('a4vvVVVV',$header); 149 $self->{linktype} = $linktype; 307 sub linktype { subroutine 309 return sprintf("%u",$self->{linktype});
|