diff options
author | luigi <luigi@FreeBSD.org> | 2004-04-04 06:14:55 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2004-04-04 06:14:55 +0000 |
commit | c54de1f76f2070447f83f4b5cf8c2d046a55f032 (patch) | |
tree | a5764e034c3ff55685b24352cb3c929204ed1cfc /sys/netinet/if_ether.h | |
parent | 3f81a8edc47c185cab08009278d5e7ecdceb12cd (diff) | |
download | FreeBSD-src-c54de1f76f2070447f83f4b5cf8c2d046a55f032.zip FreeBSD-src-c54de1f76f2070447f83f4b5cf8c2d046a55f032.tar.gz |
+ arpresolve(): remove an unused argument
+ struct ifnet: remove unused fields, move ipv6-related field close
to each other, add a pointer to l3<->l2 translation tables (arp,nd6,
etc.) for future use.
+ struct route: remove an unused field, move close to each
other some fields that might likely go away in the future
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r-- | sys/netinet/if_ether.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index 1f7a2cd..6738fa9 100644 --- a/sys/netinet/if_ether.h +++ b/sys/netinet/if_ether.h @@ -113,8 +113,8 @@ struct sockaddr_inarp { extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN]; extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN]; -int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *, - struct sockaddr *, u_char *, struct rtentry *); +int arpresolve(struct ifnet *ifp, struct rtentry *rt, + struct mbuf *m, struct sockaddr *dst, u_char *desten); void arp_ifinit(struct ifnet *, struct ifaddr *); #endif |