ip6_mroute.c (67455) | ip6_mroute.c (72091) |
---|---|
1/* $FreeBSD: head/sys/netinet6/ip6_mroute.c 67455 2000-10-23 07:07:33Z itojun $ */ | 1/* $FreeBSD: head/sys/netinet6/ip6_mroute.c 72091 2001-02-06 11:21:58Z asmodai $ */ |
2/* $KAME: ip6_mroute.c,v 1.33 2000/10/19 02:23:43 jinmei Exp $ */ 3 4/* 5 * Copyright (C) 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 1233 unchanged lines hidden (view full) --- 1243 register struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 1244 register mifi_t mifi, iif; 1245 register struct mif6 *mifp; 1246 register int plen = m->m_pkthdr.len; 1247 1248/* 1249 * Macro to send packet on mif. Since RSVP packets don't get counted on 1250 * input, they shouldn't get counted on output, so statistics keeping is | 2/* $KAME: ip6_mroute.c,v 1.33 2000/10/19 02:23:43 jinmei Exp $ */ 3 4/* 5 * Copyright (C) 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 1233 unchanged lines hidden (view full) --- 1243 register struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 1244 register mifi_t mifi, iif; 1245 register struct mif6 *mifp; 1246 register int plen = m->m_pkthdr.len; 1247 1248/* 1249 * Macro to send packet on mif. Since RSVP packets don't get counted on 1250 * input, they shouldn't get counted on output, so statistics keeping is |
1251 * seperate. | 1251 * separate. |
1252 */ 1253 1254#define MC6_SEND(ip6, mifp, m) do { \ 1255 if ((mifp)->m6_flags & MIFF_REGISTER) \ 1256 register_send((ip6), (mifp), (m)); \ 1257 else \ 1258 phyint_send((ip6), (mifp), (m)); \ 1259} while (0) --- 540 unchanged lines hidden --- | 1252 */ 1253 1254#define MC6_SEND(ip6, mifp, m) do { \ 1255 if ((mifp)->m6_flags & MIFF_REGISTER) \ 1256 register_send((ip6), (mifp), (m)); \ 1257 else \ 1258 phyint_send((ip6), (mifp), (m)); \ 1259} while (0) --- 540 unchanged lines hidden --- |