Deleted Added
full compact
29c29
< * $FreeBSD: head/sys/netinet/ip_divert.c 146182 2005-05-13 11:44:37Z glebius $
---
> * $FreeBSD: head/sys/netinet/ip_divert.c 152242 2005-11-09 13:29:16Z ru $
652,656c652,659
< SOCK_RAW, NULL, IPPROTO_DIVERT, PR_ATOMIC|PR_ADDR,
< div_input, NULL, div_ctlinput, ip_ctloutput,
< NULL,
< div_init, NULL, NULL, NULL,
< &div_usrreqs
---
> .pr_type = SOCK_RAW,
> .pr_protocol = IPPROTO_DIVERT,
> .pr_flags = PR_ATOMIC|PR_ADDR,
> .pr_input = div_input,
> .pr_ctlinput = div_ctlinput,
> .pr_ctloutput = ip_ctloutput,
> .pr_init = div_init,
> .pr_usrreqs = &div_usrreqs