Date: Wed, 12 Mar 2014 17:56:29 -0400 From: Joe Nosay <superbisquit@gmail.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Question on struct and int within Message-ID: <CA%2BWntOv_PMg5BiA5e_yKhswKKEvOvyFPkAiGYvVPp6vcvfBXAw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Okay, I decided to rebuild the kernel with vimage and mrouting. New error is: /usr/src/sys/netinet/udp_usrreq.c:1701:18: error: too few arguments to function call, expected 2, have 1 udp_discardcb(up); ~~~~~~~~~~~~~ ^ /usr/src/sys/netinet/udp_usrreq.c:274:1: note: 'udp_discardcb' declared here void Below I can see where the up value comes in and also in the file. The int value seems to be what is missing. I was studying C but never made it that far. >From the file in question: udp_discardcb(struct udpcb *up, int isudp)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BWntOv_PMg5BiA5e_yKhswKKEvOvyFPkAiGYvVPp6vcvfBXAw>