[go: up one dir, main page]

File: fw-none.c

package info (click to toggle)
libdumbnet 1.12-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,344 kB
  • ctags: 5,038
  • sloc: sh: 16,158; ansic: 10,840; python: 222; makefile: 165
file content (49 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (23)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * fw-none.c
 * 
 * Copyright (c) 2000 Dug Song <dugsong@monkey.org>
 *
 * $Id: fw-none.c 208 2002-01-20 21:23:28Z dugsong $
 */

#include "config.h"

#include <errno.h>
#include <stdio.h>
#include <stdlib.h>

#include "dnet.h"

fw_t *
fw_open(void)
{
	errno = ENOSYS;
	return (NULL);
}

int
fw_add(fw_t *f, const struct fw_rule *rule)
{
	errno = ENOSYS;
	return (-1);
}

int
fw_delete(fw_t *f, const struct fw_rule *rule)
{
	errno = ENOSYS;
	return (-1);
}

int
fw_loop(fw_t *f, fw_handler callback, void *arg)
{
	errno = ENOSYS;
	return (-1);
}

fw_t *
fw_close(fw_t *f)
{
	return (NULL);
}