ipv6.h (c22af22cbdc206a0273d0e6d773bd3dfc99d2b02) | ipv6.h (093ba72914b696521e4885756a68a3332782c8de) |
---|---|
1/* 2 * Linux INET6 implementation 3 * 4 * Authors: 5 * Pedro Roque <roque@di.fc.ul.pt> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 593 unchanged lines hidden (view full) --- 602 struct in6_addr saddr; 603 struct in6_addr daddr; 604 605 int iif; 606 __u16 nhoffset; 607 u8 ecn; 608}; 609 | 1/* 2 * Linux INET6 implementation 3 * 4 * Authors: 5 * Pedro Roque <roque@di.fc.ul.pt> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 593 unchanged lines hidden (view full) --- 602 struct in6_addr saddr; 603 struct in6_addr daddr; 604 605 int iif; 606 __u16 nhoffset; 607 u8 ecn; 608}; 609 |
610void ip6_expire_frag_queue(struct net *net, struct frag_queue *fq, 611 struct inet_frags *frags); | 610void ip6_expire_frag_queue(struct net *net, struct frag_queue *fq); |
612 613static inline bool ipv6_addr_any(const struct in6_addr *a) 614{ 615#if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 616 const unsigned long *ul = (const unsigned long *)a; 617 618 return (ul[0] | ul[1]) == 0UL; 619#else --- 509 unchanged lines hidden --- | 611 612static inline bool ipv6_addr_any(const struct in6_addr *a) 613{ 614#if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 615 const unsigned long *ul = (const unsigned long *)a; 616 617 return (ul[0] | ul[1]) == 0UL; 618#else --- 509 unchanged lines hidden --- |