Home
last modified time | relevance | path

Searched refs:lip (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c45 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()
[all …]
Dcxgb4_tc_u32_parse.h97 memcpy(&f->val.lip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip()
98 memcpy(&f->mask.lip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip()
170 memcpy(&f->val.lip[0], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip0()
171 memcpy(&f->mask.lip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip0()
179 memcpy(&f->val.lip[4], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip1()
180 memcpy(&f->mask.lip[4], &mask, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip1()
188 memcpy(&f->val.lip[8], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip2()
189 memcpy(&f->mask.lip[8], &mask, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip2()
197 memcpy(&f->val.lip[12], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip3()
198 memcpy(&f->mask.lip[12], &mask, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip3()
Dcxgb4_filter.c649 memcpy(fwr->lip, f->fs.val.lip, sizeof(fwr->lip)); in set_filter_wr()
650 memcpy(fwr->lipm, f->fs.mask.lip, sizeof(fwr->lipm)); in set_filter_wr()
734 cxgb4_clip_release(f->dev, (const u32 *)&f->fs.val.lip, 1); in clear_filter()
785 unsigned int lip = 0, lip_mask = 0; in fill_default_mask() local
810 for (i = 0; i < ARRAY_SIZE(fs->val.lip); i++) { in fill_default_mask()
811 lip |= fs->val.lip[i]; in fill_default_mask()
812 lip_mask |= fs->mask.lip[i]; in fill_default_mask()
817 if (lip && !lip_mask) in fill_default_mask()
818 memset(fs->mask.lip, ~0, sizeof(fs->mask.lip)); in fill_default_mask()
821 memset(fs->mask.fip, ~0, sizeof(fs->mask.lip)); in fill_default_mask()
[all …]
Dclip_tbl.h41 int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6);
42 void cxgb4_clip_release(const struct net_device *dev, const u32 *lip, u8 v6);
Dcxgb4_tc_flower.c124 memcpy(&fs->val.lip[0], &match.key->dst, sizeof(match.key->dst)); in cxgb4_process_flow_match()
126 memcpy(&fs->mask.lip[0], &match.mask->dst, sizeof(match.mask->dst)); in cxgb4_process_flow_match()
139 memcpy(&fs->val.lip[0], match.key->dst.s6_addr, in cxgb4_process_flow_match()
143 memcpy(&fs->mask.lip[0], match.mask->dst.s6_addr, in cxgb4_process_flow_match()
Dt4fw_api.h195 __u8 lip[16]; member
227 __u8 lip[16]; member
552 __be32 lip; member
Dcxgb4.h1165 uint8_t lip[16]; /* local IP address (IPv4 in [3:0]) */ member
Dcxgb4_main.c2512 f->fs.val.lip[i] = val[i]; in cxgb4_create_server_filter()
2513 f->fs.mask.lip[i] = ~0; in cxgb4_create_server_filter()
/drivers/s390/scsi/
Dzfcp_scsi.c542 fc_stats->lip_count = data->lip - old->lip; in zfcp_scsi_adjust_fc_host_stats()
573 fc_stats->lip_count = data->lip; in zfcp_scsi_set_fc_host_stats()
Dzfcp_fsf.h392 u64 lip; /* 0 */ member
/drivers/infiniband/hw/cxgb4/
Dcm.c1976 req->le.u.ipv4.lip = sin->sin_addr.s_addr; in send_fw_act_open_req()
4010 req->le.u.ipv4.lip = laddr; in send_fw_pass_open_req()