Deleted Added
full compact
frag6.c (171259) frag6.c (171260)
1/* $FreeBSD: head/sys/netinet6/frag6.c 171259 2007-07-05 16:23:49Z delphij $ */
1/* $FreeBSD: head/sys/netinet6/frag6.c 171260 2007-07-05 16:29:40Z delphij $ */
2/* $KAME: frag6.c,v 1.33 2002/01/07 11:34:48 kjc Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 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

--- 242 unchanged lines hidden (view full) ---

252 frag6_insque(q6, &ip6q);
253
254 /* ip6q_nxt will be filled afterwards, from 1st fragment */
255 q6->ip6q_down = q6->ip6q_up = (struct ip6asfrag *)q6;
256#ifdef notyet
257 q6->ip6q_nxtp = (u_char *)nxtp;
258#endif
259 q6->ip6q_ident = ip6f->ip6f_ident;
2/* $KAME: frag6.c,v 1.33 2002/01/07 11:34:48 kjc Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 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

--- 242 unchanged lines hidden (view full) ---

252 frag6_insque(q6, &ip6q);
253
254 /* ip6q_nxt will be filled afterwards, from 1st fragment */
255 q6->ip6q_down = q6->ip6q_up = (struct ip6asfrag *)q6;
256#ifdef notyet
257 q6->ip6q_nxtp = (u_char *)nxtp;
258#endif
259 q6->ip6q_ident = ip6f->ip6f_ident;
260 q6->ip6q_ttl = IPV6_FRAGTTL;
260 q6->ip6q_ttl = IPV6_FRAGTTL;
261 q6->ip6q_src = ip6->ip6_src;
262 q6->ip6q_dst = ip6->ip6_dst;
263 q6->ip6q_ecn =
264 (ntohl(ip6->ip6_flow) >> 20) & IPTOS_ECN_MASK;
265 q6->ip6q_unfrglen = -1; /* The 1st fragment has not arrived. */
266
267 q6->ip6q_nfrag = 0;
268 }

--- 477 unchanged lines hidden ---
261 q6->ip6q_src = ip6->ip6_src;
262 q6->ip6q_dst = ip6->ip6_dst;
263 q6->ip6q_ecn =
264 (ntohl(ip6->ip6_flow) >> 20) & IPTOS_ECN_MASK;
265 q6->ip6q_unfrglen = -1; /* The 1st fragment has not arrived. */
266
267 q6->ip6q_nfrag = 0;
268 }

--- 477 unchanged lines hidden ---