if_arcsubr.c (129880) | if_arcsubr.c (130549) |
---|---|
1/* $NetBSD: if_arcsubr.c,v 1.36 2001/06/14 05:44:23 itojun Exp $ */ | 1/* $NetBSD: if_arcsubr.c,v 1.36 2001/06/14 05:44:23 itojun Exp $ */ |
2/* $FreeBSD: head/sys/net/if_arcsubr.c 129880 2004-05-30 20:27:19Z phk $ */ | 2/* $FreeBSD: head/sys/net/if_arcsubr.c 130549 2004-06-15 23:57:42Z mlaier $ */ |
3 4/* 5 * Copyright (c) 1994, 1995 Ignatios Souvatzis 6 * Copyright (c) 1982, 1989, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 222 unchanged lines hidden (view full) --- 233 } else if (ah->arc_dhost == ah->arc_shost) { 234 (void) if_simloop(ifp, m, dst->sa_family, ARC_HDRLEN); 235 return (0); /* XXX */ 236 } 237 } 238 239 BPF_MTAP(ifp, m); 240 | 3 4/* 5 * Copyright (c) 1994, 1995 Ignatios Souvatzis 6 * Copyright (c) 1982, 1989, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 222 unchanged lines hidden (view full) --- 233 } else if (ah->arc_dhost == ah->arc_shost) { 234 (void) if_simloop(ifp, m, dst->sa_family, ARC_HDRLEN); 235 return (0); /* XXX */ 236 } 237 } 238 239 BPF_MTAP(ifp, m); 240 |
241 if (!IF_HANDOFF(&ifp->if_snd, m, ifp)) { 242 m = 0; 243 senderr(ENOBUFS); 244 } | 241 IFQ_HANDOFF(ifp, m, error); |
245 246 return (error); 247 248bad: 249 if (m) 250 m_freem(m); 251 return (error); 252} --- 599 unchanged lines hidden --- | 242 243 return (error); 244 245bad: 246 if (m) 247 m_freem(m); 248 return (error); 249} --- 599 unchanged lines hidden --- |