from small one page howto to huge articles all in one place
 

search text in:





Poll
Which screen resolution do you use?










poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

186345

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

250360

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

137535

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





PCAP_SET_DATALINK

Section: Misc. Reference Manual Pages (3PCAP)
Updated: 3 January 2014
Index Return to Main Contents
 

NAME

pcap_set_datalink - set the link-layer header type to be used by a capture device  

SYNOPSIS

#include <pcap/pcap.h>

int pcap_set_datalink(pcap_t *p, int dlt);
 

DESCRIPTION

pcap_set_datalink() is used to set the current link-layer header type of the pcap descriptor to the type specified by dlt.  

RETURN VALUE

pcap_set_datalink() returns 0 on success and -1 on failure. If -1 is returned, pcap_geterr() or pcap_perror() may be called with p as an argument to fetch or display the error text.  

SEE ALSO

pcap(3PCAP), pcap_geterr(3PCAP), pcap_datalink_name_to_val(3PCAP)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 18.3 ms