• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Guillaume Valadon <guillaume@valadon.net>
2
3"""
4Scapy *BSD native support - constants
5"""
6
7
8from scapy.data import MTU
9
10
11SIOCGIFFLAGS = 0xc0206911
12BPF_BUFFER_LENGTH = MTU
13
14# From net/bpf.h
15BIOCIMMEDIATE = 0x80044270
16BIOCGSTATS = 0x4008426f
17BIOCPROMISC = 0x20004269
18BIOCSETIF = 0x8020426c
19BIOCSBLEN = 0xc0044266
20BIOCGBLEN = 0x40044266
21BIOCSETF = 0x80104267
22BIOCSHDRCMPLT = 0x80044275
23BIOCGDLT = 0x4004426a
24