dest6.c (caf43b02089e297c1899c87ad0b81a2ad60e2fa2) | dest6.c (1272577e22d8f1c1c5b5e88f2624836e93aecb17) |
---|---|
1/* $FreeBSD$ */ 2/* $KAME: dest6.c,v 1.59 2003/07/11 13:21:16 t-momose 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 --- 43 unchanged lines hidden (view full) --- 52#include <netinet/ip6.h> 53#include <netinet6/ip6_var.h> 54#include <netinet/icmp6.h> 55 56/* 57 * Destination options header processing. 58 */ 59int | 1/* $FreeBSD$ */ 2/* $KAME: dest6.c,v 1.59 2003/07/11 13:21:16 t-momose 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 --- 43 unchanged lines hidden (view full) --- 52#include <netinet/ip6.h> 53#include <netinet6/ip6_var.h> 54#include <netinet/icmp6.h> 55 56/* 57 * Destination options header processing. 58 */ 59int |
60dest6_input(mp, offp, proto) 61 struct mbuf **mp; 62 int *offp, proto; | 60dest6_input(struct mbuf **mp, int *offp, int proto) |
63{ 64 struct mbuf *m = *mp; 65 int off = *offp, dstoptlen, optlen; 66 struct ip6_dest *dstopts; 67 u_int8_t *opt; 68 69 /* validation of the length of the header */ 70#ifndef PULLDOWN_TEST --- 53 unchanged lines hidden --- | 61{ 62 struct mbuf *m = *mp; 63 int off = *offp, dstoptlen, optlen; 64 struct ip6_dest *dstopts; 65 u_int8_t *opt; 66 67 /* validation of the length of the header */ 68#ifndef PULLDOWN_TEST --- 53 unchanged lines hidden --- |