Lines Matching refs:lip
45 const struct in6_addr *lip) in clip6_get_mbox() argument
54 *(__be64 *)&c.ip_hi = *(__be64 *)(lip->s6_addr); in clip6_get_mbox()
55 *(__be64 *)&c.ip_lo = *(__be64 *)(lip->s6_addr + 8); in clip6_get_mbox()
60 const struct in6_addr *lip) in clip6_release_mbox() argument
69 *(__be64 *)&c.ip_hi = *(__be64 *)(lip->s6_addr); in clip6_release_mbox()
70 *(__be64 *)&c.ip_lo = *(__be64 *)(lip->s6_addr + 8); in clip6_release_mbox()
74 int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6) in cxgb4_clip_get() argument
79 u32 *addr = (u32 *)lip; in cxgb4_clip_get()
91 ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, in cxgb4_clip_get()
94 ret = memcmp(lip, (char *)(&cte->addr.sin_addr), in cxgb4_clip_get()
117 lip, sizeof(struct in6_addr)); in cxgb4_clip_get()
118 ret = clip6_get_mbox(dev, (const struct in6_addr *)lip); in cxgb4_clip_get()
130 memcpy((char *)(&ce->addr.sin_addr), lip, in cxgb4_clip_get()
137 (void *)lip); in cxgb4_clip_get()
146 void cxgb4_clip_release(const struct net_device *dev, const u32 *lip, u8 v6) in cxgb4_clip_release() argument
151 u32 *addr = (u32 *)lip; in cxgb4_clip_release()
163 ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, in cxgb4_clip_release()
166 ret = memcmp(lip, (char *)(&cte->addr.sin_addr), in cxgb4_clip_release()
185 clip6_release_mbox(dev, (const struct in6_addr *)lip); in cxgb4_clip_release()