File: proto-raw.c

package info (click to toggle)
trinity 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,252 kB
  • ctags: 2,738
  • sloc: ansic: 24,011; sh: 322; makefile: 141
file content (8 lines) | stat: -rw-r--r-- 161 bytes parent folder | download
1
2
3
4
5
6
7
8
#include <linux/icmp.h>
#include "net.h"

void raw_setsockopt(struct sockopt *so)
{
	so->level = SOL_RAW;
	so->optname = ICMP_FILTER; // that's all (for now?)
}