ip_carp.h (253087) | ip_carp.h (269699) |
---|---|
1/* $FreeBSD: head/sys/netinet/ip_carp.h 253087 2013-07-09 10:02:51Z ae $ */ | 1/* $FreeBSD: head/sys/netinet/ip_carp.h 269699 2014-08-08 01:57:15Z kevlo $ */ |
2/* $OpenBSD: ip_carp.h,v 1.8 2004/07/29 22:12:15 mcbride Exp $ */ 3 4/* 5 * Copyright (c) 2002 Michael Shalayeff. All rights reserved. 6 * Copyright (c) 2003 Ryan McBride. 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 --- 125 unchanged lines hidden (view full) --- 135#define SIOCSVH _IOWR('i', 245, struct ifreq) 136#define SIOCGVH _IOWR('i', 246, struct ifreq) 137 138#ifdef _KERNEL 139int carp_ioctl(struct ifreq *, u_long, struct thread *); 140int carp_attach(struct ifaddr *, int); 141void carp_detach(struct ifaddr *); 142void carp_carpdev_state(struct ifnet *); | 2/* $OpenBSD: ip_carp.h,v 1.8 2004/07/29 22:12:15 mcbride Exp $ */ 3 4/* 5 * Copyright (c) 2002 Michael Shalayeff. All rights reserved. 6 * Copyright (c) 2003 Ryan McBride. 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 --- 125 unchanged lines hidden (view full) --- 135#define SIOCSVH _IOWR('i', 245, struct ifreq) 136#define SIOCGVH _IOWR('i', 246, struct ifreq) 137 138#ifdef _KERNEL 139int carp_ioctl(struct ifreq *, u_long, struct thread *); 140int carp_attach(struct ifaddr *, int); 141void carp_detach(struct ifaddr *); 142void carp_carpdev_state(struct ifnet *); |
143void carp_input (struct mbuf *, int); | 143int carp_input(struct mbuf **, int *, int); |
144int carp6_input (struct mbuf **, int *, int); 145int carp_output (struct ifnet *, struct mbuf *, 146 const struct sockaddr *); 147int carp_master(struct ifaddr *); 148int carp_iamatch(struct ifaddr *, uint8_t **); 149struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *); 150caddr_t carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *); 151int carp_forus(struct ifnet *, u_char *); --- 28 unchanged lines hidden --- | 144int carp6_input (struct mbuf **, int *, int); 145int carp_output (struct ifnet *, struct mbuf *, 146 const struct sockaddr *); 147int carp_master(struct ifaddr *); 148int carp_iamatch(struct ifaddr *, uint8_t **); 149struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *); 150caddr_t carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *); 151int carp_forus(struct ifnet *, u_char *); --- 28 unchanged lines hidden --- |