This file is indexed.

/usr/include/ccnet/packet.h is in libccnet-dev 6.1.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */

#ifndef CCNET_PEER_MSG
#define CCNET_PEER_MSG

#define CCNET_MSG_OK         0
#define CCNET_MSG_HANDSHAKE  1
#define CCNET_MSG_REQUEST    2
#define CCNET_MSG_RESPONSE   3
#define CCNET_MSG_UPDATE     4
#define CCNET_MSG_RELAY      5  /* NOT USED NOW */
#define CCNET_MSG_ENCPACKET  6  /* an encrypt packet */

typedef struct ccnet_header    ccnet_header;

struct ccnet_header {
    uint8_t  version;
    uint8_t  type;
    uint16_t length;            /* length of payload */
    uint32_t id;                /* used as length in ecrypted packet */
};

typedef struct ccnet_packet    ccnet_packet;

struct ccnet_packet {
    struct ccnet_header header;
    char data[0];
};

#define CCNET_PACKET_MAX_PAYLOAD_LEN 65535
#define CCNET_PACKET_LENGTH_HEADER       8
#define CCNET_USER_ID_START           1000

#endif