ip6_var.h (120649) | ip6_var.h (120913) |
---|---|
1/* $FreeBSD: head/sys/netinet6/ip6_var.h 120649 2003-10-01 21:24:28Z ume $ */ | 1/* $FreeBSD: head/sys/netinet6/ip6_var.h 120913 2003-10-08 18:26:08Z ume $ */ |
2/* $KAME: ip6_var.h,v 1.62 2001/05/03 14:51:48 itojun 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 --- 152 unchanged lines hidden (view full) --- 162 u_quad_t ip6s_fragoverflow; /* fragments that exceeded limit */ 163 u_quad_t ip6s_forward; /* packets forwarded */ 164 u_quad_t ip6s_cantforward; /* packets rcvd for unreachable dest */ 165 u_quad_t ip6s_redirectsent; /* packets forwarded on same net */ 166 u_quad_t ip6s_delivered; /* datagrams delivered to upper level*/ 167 u_quad_t ip6s_localout; /* total ip packets generated here */ 168 u_quad_t ip6s_odropped; /* lost packets due to nobufs, etc. */ 169 u_quad_t ip6s_reassembled; /* total packets reassembled ok */ | 2/* $KAME: ip6_var.h,v 1.62 2001/05/03 14:51:48 itojun 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 --- 152 unchanged lines hidden (view full) --- 162 u_quad_t ip6s_fragoverflow; /* fragments that exceeded limit */ 163 u_quad_t ip6s_forward; /* packets forwarded */ 164 u_quad_t ip6s_cantforward; /* packets rcvd for unreachable dest */ 165 u_quad_t ip6s_redirectsent; /* packets forwarded on same net */ 166 u_quad_t ip6s_delivered; /* datagrams delivered to upper level*/ 167 u_quad_t ip6s_localout; /* total ip packets generated here */ 168 u_quad_t ip6s_odropped; /* lost packets due to nobufs, etc. */ 169 u_quad_t ip6s_reassembled; /* total packets reassembled ok */ |
170 u_quad_t ip6s_fragmented; /* datagrams sucessfully fragmented */ | 170 u_quad_t ip6s_fragmented; /* datagrams successfully fragmented */ |
171 u_quad_t ip6s_ofragments; /* output fragments created */ 172 u_quad_t ip6s_cantfrag; /* don't fragment flag was set, etc. */ 173 u_quad_t ip6s_badoptions; /* error in option processing */ 174 u_quad_t ip6s_noroute; /* packets discarded due to no route */ 175 u_quad_t ip6s_badvers; /* ip6 version != 6 */ 176 u_quad_t ip6s_rawout; /* total raw ip packets generated */ 177 u_quad_t ip6s_badscope; /* scope error */ 178 u_quad_t ip6s_notmember; /* don't join this multicast group */ --- 148 unchanged lines hidden (view full) --- 327void ip6_forward __P((struct mbuf *, int)); 328 329void ip6_mloopback __P((struct ifnet *, struct mbuf *, struct sockaddr_in6 *)); 330int ip6_output __P((struct mbuf *, struct ip6_pktopts *, 331 struct route_in6 *, 332 int, 333 struct ip6_moptions *, struct ifnet **, 334 struct inpcb *)); | 171 u_quad_t ip6s_ofragments; /* output fragments created */ 172 u_quad_t ip6s_cantfrag; /* don't fragment flag was set, etc. */ 173 u_quad_t ip6s_badoptions; /* error in option processing */ 174 u_quad_t ip6s_noroute; /* packets discarded due to no route */ 175 u_quad_t ip6s_badvers; /* ip6 version != 6 */ 176 u_quad_t ip6s_rawout; /* total raw ip packets generated */ 177 u_quad_t ip6s_badscope; /* scope error */ 178 u_quad_t ip6s_notmember; /* don't join this multicast group */ --- 148 unchanged lines hidden (view full) --- 327void ip6_forward __P((struct mbuf *, int)); 328 329void ip6_mloopback __P((struct ifnet *, struct mbuf *, struct sockaddr_in6 *)); 330int ip6_output __P((struct mbuf *, struct ip6_pktopts *, 331 struct route_in6 *, 332 int, 333 struct ip6_moptions *, struct ifnet **, 334 struct inpcb *)); |
335int ip6_ctloutput __P((struct socket *, struct sockopt *sopt)); | 335int ip6_ctloutput __P((struct socket *, struct sockopt *)); |
336void init_ip6pktopts __P((struct ip6_pktopts *)); 337int ip6_setpktoptions __P((struct mbuf *, struct ip6_pktopts *, int, int)); 338void ip6_clearpktopts __P((struct ip6_pktopts *, int, int)); 339struct ip6_pktopts *ip6_copypktopts __P((struct ip6_pktopts *, int)); 340int ip6_optlen __P((struct inpcb *)); 341 342int route6_input __P((struct mbuf **, int *, int)); 343 344void frag6_init __P((void)); 345int frag6_input __P((struct mbuf **, int *, int)); 346void frag6_slowtimo __P((void)); 347void frag6_drain __P((void)); 348 349void rip6_init __P((void)); | 336void init_ip6pktopts __P((struct ip6_pktopts *)); 337int ip6_setpktoptions __P((struct mbuf *, struct ip6_pktopts *, int, int)); 338void ip6_clearpktopts __P((struct ip6_pktopts *, int, int)); 339struct ip6_pktopts *ip6_copypktopts __P((struct ip6_pktopts *, int)); 340int ip6_optlen __P((struct inpcb *)); 341 342int route6_input __P((struct mbuf **, int *, int)); 343 344void frag6_init __P((void)); 345int frag6_input __P((struct mbuf **, int *, int)); 346void frag6_slowtimo __P((void)); 347void frag6_drain __P((void)); 348 349void rip6_init __P((void)); |
350int rip6_input __P((struct mbuf **mp, int *offp, int proto)); | 350int rip6_input __P((struct mbuf **, int *, int)); |
351void rip6_ctlinput __P((int, struct sockaddr *, void *)); | 351void rip6_ctlinput __P((int, struct sockaddr *, void *)); |
352int rip6_ctloutput __P((struct socket *so, struct sockopt *sopt)); | 352int rip6_ctloutput __P((struct socket *, struct sockopt *)); |
353int rip6_output __P((struct mbuf *, ...)); 354int rip6_usrreq __P((struct socket *, 355 int, struct mbuf *, struct mbuf *, struct mbuf *, struct thread *)); 356 357int dest6_input __P((struct mbuf **, int *, int)); 358int none_input __P((struct mbuf **, int *, int)); 359 360#ifdef RANDOM_IP_ID 361u_int32_t ip6_randomid __P((void)); 362u_int32_t ip6_randomflowlabel __P((void)); 363#endif 364#endif /* _KERNEL */ 365 366#endif /* !_NETINET6_IP6_VAR_H_ */ | 353int rip6_output __P((struct mbuf *, ...)); 354int rip6_usrreq __P((struct socket *, 355 int, struct mbuf *, struct mbuf *, struct mbuf *, struct thread *)); 356 357int dest6_input __P((struct mbuf **, int *, int)); 358int none_input __P((struct mbuf **, int *, int)); 359 360#ifdef RANDOM_IP_ID 361u_int32_t ip6_randomid __P((void)); 362u_int32_t ip6_randomflowlabel __P((void)); 363#endif 364#endif /* _KERNEL */ 365 366#endif /* !_NETINET6_IP6_VAR_H_ */ |