path: root/pcap-dlpi.c
AgeCommit message (Expand)AuthorFilesLines
2010-09-21Treat either EPERM or EACCES as "no soup for you".Guy Harris1-3/+4
2010-09-21Return PCAP_ERROR_PROMISC_PERM_DENIED if you have permission to open theGuy Harris1-37/+47
2010-02-23Squelch warnings about type punning.Guy Harris1-4/+10
2009-07-02dlp->dl_length might be an unsigned long; cast it to unsigned long andGuy Harris1-2/+2
2008-12-02From Albert Chin: the "ss" variable is defined only if bufmod isguy1-2/+2
2008-04-14Turn close_op into cleanup_op; the routine that handles it can also beguy1-12/+10
2008-04-10Catch another place where you could get told "no, you may not open thatguy1-1/+3
2008-04-09Fix an sprintf call.guy1-2/+2
2008-04-09Add some PCAP_WARNING return values for "success, but you might want toguy1-20/+22
2008-04-09Add an error for "you don't have permission to open that device", asguy1-33/+64
2008-04-05Fix some compile errors.guy1-4/+4
2008-04-04From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_tguy1-66/+71
2008-03-13Support for libdlpi, and for enabling "passive mode" on Solaris systemsguy1-264/+44
2008-02-02As is done in the loop in pcap-bpf.c, check for non-positive values ofguy1-2/+2
2008-01-30From Sagun Shakya: update a comment.guy1-3/+3
2007-12-05Don't assume that p->fcode.bpf_insns remains unchanged while processingguy1-4/+2
2006-04-04putmsg() returns 0 or -1, not the number of bytes written.guy1-1/+9
2005-08-13From Don Ebright: clean out *uerror in recv_ack() before doing anything,guy1-9/+20
2005-05-03From Pawel Pokrywka: add support for requesting that only receivedguy1-1/+2
2005-04-17If we get EBUSY when binding to a SAP, clear out the error string we getguy1-2/+5
2005-04-17Typo fix, from Mark C. Brown.guy1-2/+2
2005-04-17From Mark C. Brown: don't use hard-code values of 22 and 24 for the SAPguy1-60/+116
2005-04-08Update some comments.guy1-7/+18
2005-04-08Rename HAVE_HPUX10_20 to HAVE_HPUX10_20_OR_LATER, because it's alsoguy1-7/+7
2004-10-19Add a "pcap_close_common()" routine which can be used as the closeguy1-5/+2
2004-07-22Do some error checking when extracting the unit number from a deviceguy1-3/+20
2004-07-20(Try to) squelch some compiler warnings on HP-UX.guy1-5/+5
2004-07-20From Rick Jones:guy1-10/+5
2004-05-21"sbh_drops" is cumulative, so we can't add it to the packet receiveguy1-15/+13
2004-05-21Add the dropped packet count to the received packet count, so that theguy1-9/+22
2004-04-23On non-HP-UX systems, if we fail to open "/dev/{if}" or "/dev/{if}N"guy1-3/+23
2004-04-07Having gone through the trouble of creating "dl_doattach()", we might asguy1-5/+3
2004-04-03Small whitespace style cleanup.guy1-2/+2
2004-04-03Add support for sending packets on HP-UX if DL_HP_RAWDLS (for "rawguy1-64/+160
2004-04-03If we get EAGAIN, return 0, as we do with EAGAIN and EWOULDBLOCK onguy1-2/+7
2004-04-02From Rick Jones: the DL_HP_PPA_ACK_OBS #defines are gone in HP-UX 11.23;guy1-3/+3
2004-03-23Add support for sending packets; includes contributions from Markguy1-1/+100
2003-12-18For devices that we have some reason to believe are real live Ethernetguy1-1/+25
2003-11-21Add a "pcap_get_selectable_fd()" API to get an FD on which you can do aguy1-1/+7
2003-11-20Add "getnonblock" and "setnonblock" operations, and set the functionguy1-1/+3
2003-11-15Add _U_ to "rcsid[]" definitions, to eliminate "unused variable"guy1-2/+2
2003-11-04Add a "pcap_breakloop()" API to break out of the loop inguy1-1/+33
2003-07-25Add a "read" function pointer to the pcap_t structure, which handlesguy1-3/+4
2003-07-25Add a "set_datalink" function pointer to the pcap_t structure, whichhandlesguy1-7/+2
2003-07-25Add a "setfilter" function pointer to the pcap_t structure, whichguy1-10/+2
2003-07-25Add a "stats" function pointer to the pcap_t structure, which handlesguy1-3/+4
2003-07-25Add a "close" function pointer to the pcap_t structure, which handlesguy1-1/+17
2003-02-19According to the bufmod man page for Solaris 2.4 and 9 (meaning it'sguy1-2/+2
2003-02-05If we have bufmod, allocate a buffer big enough to hold the size ofguy1-16/+33
2003-02-04As per suggestions from the anonymous SourceForge user who submitted bugguy1-16/+23