if_gre.c (105300) | if_gre.c (106939) |
---|---|
1/* $NetBSD: if_gre.c,v 1.42 2002/08/14 00:23:27 itojun Exp $ */ | 1/* $NetBSD: if_gre.c,v 1.42 2002/08/14 00:23:27 itojun Exp $ */ |
2/* $FreeBSD: head/sys/net/if_gre.c 105300 2002-10-16 22:26:32Z alfred $ */ | 2/* $FreeBSD: head/sys/net/if_gre.c 106939 2002-11-15 00:00:15Z sam $ */ |
3 4/* 5 * Copyright (c) 1998 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation 9 * by Heiko W.Rupp <hwr@pilhuhn.de> 10 * --- 233 unchanged lines hidden (view full) --- 244 /* see comment of other if_foo.c files */ 245 struct mbuf m0; 246 u_int32_t af = dst->sa_family; 247 248 m0.m_next = m; 249 m0.m_len = 4; 250 m0.m_data = (char *)⁡ 251 | 3 4/* 5 * Copyright (c) 1998 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation 9 * by Heiko W.Rupp <hwr@pilhuhn.de> 10 * --- 233 unchanged lines hidden (view full) --- 244 /* see comment of other if_foo.c files */ 245 struct mbuf m0; 246 u_int32_t af = dst->sa_family; 247 248 m0.m_next = m; 249 m0.m_len = 4; 250 m0.m_data = (char *)⁡ 251 |
252 bpf_mtap(ifp, &m0); | 252 BPF_MTAP(ifp, &m0); |
253 } 254 255 m->m_flags &= ~(M_BCAST|M_MCAST); 256 257 if (sc->g_proto == IPPROTO_MOBILE) { 258 if (dst->sa_family == AF_INET) { 259 struct mbuf *m0; 260 int msiz; --- 496 unchanged lines hidden --- | 253 } 254 255 m->m_flags &= ~(M_BCAST|M_MCAST); 256 257 if (sc->g_proto == IPPROTO_MOBILE) { 258 if (dst->sa_family == AF_INET) { 259 struct mbuf *m0; 260 int msiz; --- 496 unchanged lines hidden --- |