Lines Matching refs:net_addr_vpn4
68 typedef struct net_addr_vpn4 { struct
74 } net_addr_vpn4; argument
139 net_addr_vpn4 vpn4;
165 ((net_addr_vpn4) { NET_VPN4, pxlen, sizeof(net_addr_vpn4), prefix, rd })
196 { *(net_addr_vpn4 *)a = NET_ADDR_VPN4(prefix, pxlen, rd); } in net_fill_vpn4()
327 return ((net_addr_vpn4 *)a)->rd; in net_rd()
344 static inline int net_equal_vpn4(const net_addr_vpn4 *a, const net_addr_vpn4 *b) in net_equal_vpn4()
345 { return !memcmp(a, b, sizeof(net_addr_vpn4)); } in net_equal_vpn4()
388 static inline int net_zero_vpn4(const net_addr_vpn4 *a) in net_zero_vpn4()
416 static inline int net_compare_vpn4(const net_addr_vpn4 *a, const net_addr_vpn4 *b) in net_compare_vpn4()
456 static inline void net_copy_vpn4(net_addr_vpn4 *dst, const net_addr_vpn4 *src) in net_copy_vpn4()
457 { memcpy(dst, src, sizeof(net_addr_vpn4)); } in net_copy_vpn4()
491 static inline u32 net_hash_vpn4(const net_addr_vpn4 *n) in net_hash_vpn4()
536 static inline int net_validate_vpn4(const net_addr_vpn4 *n) in net_validate_vpn4()
576 static inline void net_normalize_vpn4(net_addr_vpn4 *n) in net_normalize_vpn4()