ip_output.c (33134) | ip_output.c (33678) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 |
34 * $Id: ip_output.c,v 1.63 1998/02/04 22:33:09 eivind Exp $ | 34 * $Id: ip_output.c,v 1.64 1998/02/06 12:13:52 eivind Exp $ |
35 */ 36 37#define _IP_VHL 38 39#include "opt_ipdivert.h" 40 41#include <sys/param.h> 42#include <sys/systm.h> --- 793 unchanged lines hidden (view full) --- 836ip_pcbopts(optname, pcbopt, m) 837 int optname; 838#else 839ip_pcbopts(pcbopt, m) 840#endif 841 struct mbuf **pcbopt; 842 register struct mbuf *m; 843{ | 35 */ 36 37#define _IP_VHL 38 39#include "opt_ipdivert.h" 40 41#include <sys/param.h> 42#include <sys/systm.h> --- 793 unchanged lines hidden (view full) --- 836ip_pcbopts(optname, pcbopt, m) 837 int optname; 838#else 839ip_pcbopts(pcbopt, m) 840#endif 841 struct mbuf **pcbopt; 842 register struct mbuf *m; 843{ |
844 register cnt, optlen; | 844 register int cnt, optlen; |
845 register u_char *cp; 846 u_char opt; 847 848 /* turn off any old options */ 849 if (*pcbopt) 850 (void)m_free(*pcbopt); 851 *pcbopt = 0; 852 if (m == (struct mbuf *)0 || m->m_len == 0) { --- 484 unchanged lines hidden --- | 845 register u_char *cp; 846 u_char opt; 847 848 /* turn off any old options */ 849 if (*pcbopt) 850 (void)m_free(*pcbopt); 851 *pcbopt = 0; 852 if (m == (struct mbuf *)0 || m->m_len == 0) { --- 484 unchanged lines hidden --- |