summaryrefslogtreecommitdiff
path: root/socket_opts.c
blob: ce5d17043631012ef6a8592d4c694eeea100868c (plain)
1
2
3
4
5
6
7
8
9
10
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "socket.h"

int socket_ipoptionskill(int s)
{
  return setsockopt(s,IPPROTO_IP,1,(char *) 0,0); /* 1 == IP_OPTIONS */
}