This file is indexed.

/usr/include/libnftnl/batch.h is in libnftnl-dev 1.0.5+snapshot20151106-1ubuntu3.

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
#ifndef _LIBNFTNL_BATCH_H_
#define _LIBNFTNL_BATCH_H_

#include <stdint.h>

struct nftnl_batch;

struct nftnl_batch *nftnl_batch_alloc(uint32_t pg_size, uint32_t pg_overrun_size);
int nftnl_batch_update(struct nftnl_batch *batch);
void nftnl_batch_free(struct nftnl_batch *batch);

void *nftnl_batch_buffer(struct nftnl_batch *batch);
uint32_t nftnl_batch_buffer_len(struct nftnl_batch *batch);

int nftnl_batch_iovec_len(struct nftnl_batch *batch);
void nftnl_batch_iovec(struct nftnl_batch *batch, struct iovec *iov, uint32_t iovlen);

/*
 * Compat
 */

struct nft_batch;

struct nft_batch *nft_batch_alloc(uint32_t pg_size, uint32_t pg_overrun_size);
int nft_batch_update(struct nft_batch *batch);
void nft_batch_free(struct nft_batch *batch);

void *nft_batch_buffer(struct nft_batch *batch);
uint32_t nft_batch_buffer_len(struct nft_batch *batch);

int nft_batch_iovec_len(struct nft_batch *batch);
void nft_batch_iovec(struct nft_batch *batch, struct iovec *iov, uint32_t iovlen);

#endif