Searched refs:portptr (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/net/netfilter/ |
D | nf_nat_proto_common.c | 45 __be16 *portptr; in nf_nat_l4proto_unique_tuple() local 49 portptr = &tuple->src.u.all; in nf_nat_l4proto_unique_tuple() 51 portptr = &tuple->dst.u.all; in nf_nat_l4proto_unique_tuple() 59 if (ntohs(*portptr) < 1024) { in nf_nat_l4proto_unique_tuple() 61 if (ntohs(*portptr) < 512) { in nf_nat_l4proto_unique_tuple() 87 off = (ntohs(*portptr) - ntohs(range->base_proto.all)); in nf_nat_l4proto_unique_tuple() 93 *portptr = htons(min + off % range_size); in nf_nat_l4proto_unique_tuple()
|
D | nf_nat_proto_dccp.c | 42 __be16 *portptr, oldport, newport; in dccp_manip_pkt() local 55 portptr = &hdr->dccph_sport; in dccp_manip_pkt() 58 portptr = &hdr->dccph_dport; in dccp_manip_pkt() 61 oldport = *portptr; in dccp_manip_pkt() 62 *portptr = newport; in dccp_manip_pkt()
|
D | nf_nat_proto_tcp.c | 42 __be16 *portptr, newport, oldport; in tcp_manip_pkt() local 59 portptr = &hdr->source; in tcp_manip_pkt() 63 portptr = &hdr->dest; in tcp_manip_pkt() 66 oldport = *portptr; in tcp_manip_pkt() 67 *portptr = newport; in tcp_manip_pkt()
|
D | nf_nat_proto_udp.c | 40 __be16 *portptr, newport; in __udp_manip_pkt() local 45 portptr = &hdr->source; in __udp_manip_pkt() 49 portptr = &hdr->dest; in __udp_manip_pkt() 54 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, in __udp_manip_pkt() 59 *portptr = newport; in __udp_manip_pkt()
|
/Linux-v4.19/drivers/nvme/host/ |
D | fc.c | 173 localport_to_lport(struct nvme_fc_local_port *portptr) in localport_to_lport() argument 175 return container_of(portptr, struct nvme_fc_lport, localport); in localport_to_lport() 179 remoteport_to_rport(struct nvme_fc_remote_port *portptr) in remoteport_to_rport() argument 181 return container_of(portptr, struct nvme_fc_rport, remoteport); in remoteport_to_rport() 333 struct nvme_fc_local_port **portptr) in nvme_fc_register_localport() argument 364 *portptr = &newrec->localport; in nvme_fc_register_localport() 410 *portptr = &newrec->localport; in nvme_fc_register_localport() 418 *portptr = NULL; in nvme_fc_register_localport() 436 nvme_fc_unregister_localport(struct nvme_fc_local_port *portptr) in nvme_fc_unregister_localport() argument 438 struct nvme_fc_lport *lport = localport_to_lport(portptr); in nvme_fc_unregister_localport() [all …]
|
/Linux-v4.19/drivers/sh/maple/ |
D | maple.c | 407 static int check_maple_device(struct device *device, void *portptr) in check_maple_device() argument 412 ds = portptr; in check_maple_device()
|
/Linux-v4.19/drivers/nvme/target/ |
D | fc.c | 982 struct nvmet_fc_target_port **portptr) in nvmet_fc_register_targetport() argument 1041 *portptr = &newrec->fc_target_port; in nvmet_fc_register_targetport() 1051 *portptr = NULL; in nvmet_fc_register_targetport()
|