diff options
author | Julian Elischer <julian@FreeBSD.org> | 2001-09-03 20:03:55 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2001-09-03 20:03:55 +0000 |
commit | f0ffb944d259efbe7c4e223b4068be440c1a51cf (patch) | |
tree | 8d09274631c646d1bfce4acc158d08cc765103da /sys/netinet/in_proto.c | |
parent | 3fe149a64315002e9187d3a3c3040bd30cf3000c (diff) | |
download | src-f0ffb944d259efbe7c4e223b4068be440c1a51cf.tar.gz src-f0ffb944d259efbe7c4e223b4068be440c1a51cf.zip |
Notes
Diffstat (limited to 'sys/netinet/in_proto.c')
-rw-r--r-- | sys/netinet/in_proto.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index 8e19332874c3..f1a09349655a 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -63,8 +63,6 @@ #include <netinet/udp_var.h> #include <netinet/ip_encap.h> -#include <netinet/ipprotosw.h> - /* * TCP/IP protocol family: IP, ICMP, UDP, TCP. */ @@ -90,7 +88,7 @@ extern struct domain inetdomain; static struct pr_usrreqs nousrreqs; -struct ipprotosw inetsw[] = { +struct protosw inetsw[] = { { 0, &inetdomain, 0, 0, 0, 0, 0, 0, 0, @@ -207,8 +205,8 @@ extern int in_inithead __P((void **, int)); struct domain inetdomain = { AF_INET, "internet", 0, 0, 0, - (struct protosw *)inetsw, - (struct protosw *)&inetsw[sizeof(inetsw)/sizeof(inetsw[0])], 0, + inetsw, + &inetsw[sizeof(inetsw)/sizeof(inetsw[0])], 0, in_inithead, 32, sizeof(struct sockaddr_in) }; |