Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Slawa Olhovchenkov                   2:5030/500     09 Mar 2007  12:33:10
 To : All
 Subject : Вести с полей
 -------------------------------------------------------------------------------- 
 
 
 jkim        2007-02-26 22:24:14 UTC
 
   FreeBSD src repository
 
   Modified files:
     contrib/libpcap      pcap-bpf.c
     share/man/man4       bpf.4
     sys/net              bpf.c bpf.h bpfdesc.h
     usr.bin/netstat      bpf.c
   Log:
   Add three new ioctl(2) commands for bpf(4).
 
   - BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining
   whether incoming, outgoing, or all packets on the interface should be
   returned by BPF.  Set to BPF_D_IN to see only incoming packets on the
   interface.  Set to BPF_D_INOUT to see packets originating locally and
   remotely on the interface.  Set to BPF_D_OUT to see only outgoing
   packets on the interface.  This setting is initialized to BPF_D_INOUT
   by default.  BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but
   kept for backward compatibility.
 
   - BIOCFEEDBACK sets packet feedback mode.  This allows injected packets
   to be fed back as input to the interface when output via the interface is
   successful.  When BPF_D_INOUT direction is set, injected outgoing packet
   is not returned by BPF to avoid duplication.  This flag is initialized to
   zero by default.
 
   Note that libpcap has been modified to support BPF_D_OUT direction for
   pcap_setdirection(3) and PCAP_D_OUT direction is functional now.
 
   Reviewed by:    rwatson
 ... Стоп, себе думаю, а не дурак ли он?
 --- GoldED+/BSD 1.1.5
  * Origin:  (2:5030/500)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Вести с полей   Slawa Olhovchenkov   09 Mar 2007 12:33:10 
Архивное /ru.unix.bsd/222145f11bdb.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional