tcp_usrreq.c (1542) | tcp_usrreq.c (1549) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 63 unchanged lines hidden (view full) --- 72/*ARGSUSED*/ 73int 74tcp_usrreq(so, req, m, nam, control) 75 struct socket *so; 76 int req; 77 struct mbuf *m, *nam, *control; 78{ 79 register struct inpcb *inp; | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 63 unchanged lines hidden (view full) --- 72/*ARGSUSED*/ 73int 74tcp_usrreq(so, req, m, nam, control) 75 struct socket *so; 76 int req; 77 struct mbuf *m, *nam, *control; 78{ 79 register struct inpcb *inp; |
80 register struct tcpcb *tp; | 80 register struct tcpcb *tp = 0; |
81 int s; 82 int error = 0; 83 int ostate; 84 85 if (req == PRU_CONTROL) 86 return (in_control(so, (int)m, (caddr_t)nam, 87 (struct ifnet *)control)); 88 if (control && control->m_len) { --- 429 unchanged lines hidden --- | 81 int s; 82 int error = 0; 83 int ostate; 84 85 if (req == PRU_CONTROL) 86 return (in_control(so, (int)m, (caddr_t)nam, 87 (struct ifnet *)control)); 88 if (control && control->m_len) { --- 429 unchanged lines hidden --- |