| version 1.65, 2000/03/30 02:39:37 |
version 1.66, 2000/03/30 13:25:11 |
|
|
| static int |
static int |
| in6_mcmatch(in6p, ia6, ifp) |
in6_mcmatch(in6p, ia6, ifp) |
| struct in6pcb *in6p; |
struct in6pcb *in6p; |
| register struct in6_addr *ia6; |
struct in6_addr *ia6; |
| struct ifnet *ifp; |
struct ifnet *ifp; |
| { |
{ |
| struct ip6_moptions *im6o = in6p->in6p_moptions; |
struct ip6_moptions *im6o = in6p->in6p_moptions; |
| Line 873 udp_input(m, va_alist) |
|
| Line 873 udp_input(m, va_alist) |
|
| #endif |
#endif |
| { |
{ |
| int proto; |
int proto; |
| register struct ip *ip; |
struct ip *ip; |
| register struct udphdr *uh; |
struct udphdr *uh; |
| register struct inpcb *inp; |
struct inpcb *inp; |
| struct mbuf *opts = 0; |
struct mbuf *opts = 0; |
| int len; |
int len; |
| struct ip save_ip; |
struct ip save_ip; |
|
|
| */ |
*/ |
| static void |
static void |
| udp_notify(inp, errno) |
udp_notify(inp, errno) |
| register struct inpcb *inp; |
struct inpcb *inp; |
| int errno; |
int errno; |
| { |
{ |
| |
|
| Line 1159 udp_ctlinput(cmd, sa, v) |
|
| Line 1159 udp_ctlinput(cmd, sa, v) |
|
| struct sockaddr *sa; |
struct sockaddr *sa; |
| void *v; |
void *v; |
| { |
{ |
| register struct ip *ip = v; |
struct ip *ip = v; |
| register struct udphdr *uh; |
struct udphdr *uh; |
| void (*notify) __P((struct inpcb *, int)) = udp_notify; |
void (*notify) __P((struct inpcb *, int)) = udp_notify; |
| int errno; |
int errno; |
| |
|
| Line 1197 udp_output(m, va_alist) |
|
| Line 1197 udp_output(m, va_alist) |
|
| va_dcl |
va_dcl |
| #endif |
#endif |
| { |
{ |
| register struct inpcb *inp; |
struct inpcb *inp; |
| register struct udpiphdr *ui; |
struct udpiphdr *ui; |
| register int len = m->m_pkthdr.len; |
int len = m->m_pkthdr.len; |
| int error = 0; |
int error = 0; |
| va_list ap; |
va_list ap; |
| |
|
| Line 1278 udp_usrreq(so, req, m, nam, control, p) |
|
| Line 1278 udp_usrreq(so, req, m, nam, control, p) |
|
| struct mbuf *m, *nam, *control; |
struct mbuf *m, *nam, *control; |
| struct proc *p; |
struct proc *p; |
| { |
{ |
| register struct inpcb *inp; |
struct inpcb *inp; |
| int s; |
int s; |
| register int error = 0; |
int error = 0; |
| |
|
| if (req == PRU_CONTROL) |
if (req == PRU_CONTROL) |
| return (in_control(so, (long)m, (caddr_t)nam, |
return (in_control(so, (long)m, (caddr_t)nam, |