~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/libc/src/npacketh.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
type
 
3
   Psockaddr_ll = ^sockaddr_ll;
 
4
   sockaddr_ll = record
 
5
        sll_family : word;
 
6
        sll_protocol : word;
 
7
        sll_ifindex : longint;
 
8
        sll_hatype : word;
 
9
        sll_pkttype : byte;
 
10
        sll_halen : byte;
 
11
        sll_addr : array[0..7] of byte;
 
12
     end;
 
13
 
 
14
 
 
15
const
 
16
   PACKET_HOST = 0;
 
17
   PACKET_BROADCAST = 1;
 
18
   PACKET_MULTICAST = 2;
 
19
   PACKET_OTHERHOST = 3;
 
20
   PACKET_OUTGOING = 4;
 
21
   PACKET_LOOPBACK = 5;
 
22
   PACKET_FASTROUTE = 6;
 
23
   PACKET_ADD_MEMBERSHIP = 1;
 
24
   PACKET_DROP_MEMBERSHIP = 2;
 
25
   PACKET_RECV_OUTPUT = 3;
 
26
   PACKET_RX_RING = 5;
 
27
   PACKET_STATISTICS = 6;
 
28
type
 
29
   Ppacket_mreq = ^packet_mreq;
 
30
   packet_mreq = record
 
31
        mr_ifindex : longint;
 
32
        mr_type : word;
 
33
        mr_alen : word;
 
34
        mr_address : array[0..7] of byte;
 
35
     end;
 
36
 
 
37
 
 
38
const
 
39
   PACKET_MR_MULTICAST = 0;
 
40
   PACKET_MR_PROMISC = 1;
 
41
   PACKET_MR_ALLMULTI = 2;
 
42
 
 
43
{ ---------------------------------------------------------------------
 
44
    Borland compatibility types
 
45
  ---------------------------------------------------------------------}
 
46
 
 
47
// Type