Home
last modified time | relevance | path

Searched refs:tproto (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/net/ipv6/netfilter/
Dnf_socket_ipv6.c105 int thoff = 0, tproto; in nf_sk_lookup_slow_v6() local
107 tproto = ipv6_find_hdr(skb, &thoff, -1, NULL, NULL); in nf_sk_lookup_slow_v6()
108 if (tproto < 0) { in nf_sk_lookup_slow_v6()
113 if (tproto == IPPROTO_UDP || tproto == IPPROTO_TCP) { in nf_sk_lookup_slow_v6()
117 hp = skb_header_pointer(skb, thoff, tproto == IPPROTO_UDP ? in nf_sk_lookup_slow_v6()
127 doff = tproto == IPPROTO_TCP ? in nf_sk_lookup_slow_v6()
131 } else if (tproto == IPPROTO_ICMPV6) { in nf_sk_lookup_slow_v6()
132 if (extract_icmp6_fields(skb, thoff, &tproto, &saddr, &daddr, in nf_sk_lookup_slow_v6()
139 return nf_socket_get_sock_v6(net, data_skb, doff, tproto, saddr, daddr, in nf_sk_lookup_slow_v6()
Dnf_tproxy_ipv6.c39 nf_tproxy_handle_time_wait6(struct sk_buff *skb, int tproto, int thoff, in nf_tproxy_handle_time_wait6() argument
59 sk2 = nf_tproxy_get_sock_v6(net, skb, thoff, tproto, in nf_tproxy_handle_time_wait6()
/linux-6.6.21/net/netfilter/
Dxt_TPROXY.c114 int tproto; in tproxy_tg6_v1() local
116 tproto = ipv6_find_hdr(skb, &thoff, -1, NULL, NULL); in tproxy_tg6_v1()
117 if (tproto < 0) in tproxy_tg6_v1()
128 sk = nf_tproxy_get_sock_v6(xt_net(par), skb, thoff, tproto, in tproxy_tg6_v1()
140 sk = nf_tproxy_handle_time_wait6(skb, tproto, thoff, in tproxy_tg6_v1()
150 tproto, &iph->saddr, laddr, in tproxy_tg6_v1()
/linux-6.6.21/drivers/scsi/aic94xx/
Daic94xx_dev.c72 else if (dev->tproto) in asd_set_ddb_type()
161 (dev->tproto & SAS_PROTOCOL_STP)) { in asd_init_target_ddb()
187 if (dev->tproto & SAS_PROTOCOL_STP) in asd_init_target_ddb()
195 if (dev->dev_type == SAS_SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { in asd_init_target_ddb()
319 if (dev->tproto) in asd_dev_found()
Daic94xx_tmf.c169 (dev->tproto & SAS_PROTOCOL_STP)) ? 0 : 1; in asd_I_T_nexus_reset()
223 if (task->dev->tproto) in asd_clear_nexus_tag()
236 if (task->dev->tproto) in asd_clear_nexus_index()
566 if (!(dev->tproto & SAS_PROTOCOL_SSP)) in asd_initiate_ssp_tmf()
Daic94xx_hwi.c63 phy->identify_frame->target_bits = phy->sas_phy.tproto; in asd_init_phy_identify()
76 sas_phy->tproto = 0; in asd_init_phy()
/linux-6.6.21/drivers/scsi/libsas/
Dsas_port.c89 port->tproto = phy->tproto; in sas_form_port_add_phy()
252 port->tproto = 0; in sas_deform_port()
Dsas_internal.h144 rphy->identify.target_port_protocols = dev->tproto; in sas_fill_in_rphy()
173 phy->identify.target_port_protocols = dev->tproto; in sas_phy_set_target()
Dsas_phy.c140 phy->phy->identify.target_port_protocols = phy->tproto; in sas_register_phys()
Dsas_discover.c82 dev->tproto = SAS_PROTOCOL_SATA; in sas_get_port_device()
88 dev->tproto = id->target_bits; in sas_get_port_device()
Dsas_scsi_host.c143 task->task_proto = task->dev->tproto; /* BUG_ON(!SSP) */ in sas_create_task()
991 task->task_proto = device->tproto; in sas_execute_tmf()
1099 if (!(device->tproto & SAS_PROTOCOL_SSP)) in sas_execute_ssp_tmf()
Dsas_ata.c258 dev->tproto = phy->attached_tproto; in sas_get_ata_info()
260 dev->tproto |= SAS_SATA_DEV; in sas_get_ata_info()
Dsas_expander.c57 task->task_proto = dev->tproto; in smp_execute_task_sg()
238 phy->attached_tproto = dr->tproto << 1; in sas_set_ex_phy()
765 child->tproto = phy->attached_tproto; in sas_ex_add_dev()
919 child->tproto = phy->attached_tproto; in sas_ex_discover_expander()
/linux-6.6.21/include/net/netfilter/
Dnf_tproxy.h114 nf_tproxy_handle_time_wait6(struct sk_buff *skb, int tproto, int thoff,
/linux-6.6.21/include/scsi/
Dlibsas.h175 enum sas_protocol tproto; member
254 enum sas_protocol tproto; member
312 enum sas_protocol tproto; member
Dsas.h420 u8 tproto:3; member
642 u8 tproto:3; member
/linux-6.6.21/net/ipv6/
Dip6_tunnel.c474 u8 tproto; in ip6_tnl_err() local
486 tproto = READ_ONCE(t->parms.proto); in ip6_tnl_err()
487 if (tproto != ipproto && tproto != 0) in ip6_tnl_err()
938 u8 tproto = READ_ONCE(t->parms.proto); in ipxip6_rcv() local
940 if (tproto != ipproto && tproto != 0) in ipxip6_rcv()
1302 u8 tproto; in ipxip6_tnl_xmit() local
1305 tproto = READ_ONCE(t->parms.proto); in ipxip6_tnl_xmit()
1306 if (tproto != protocol && tproto != 0) in ipxip6_tnl_xmit()
/linux-6.6.21/drivers/scsi/mvsas/
Dmv_init.c88 sas_phy->tproto = 0; in mvs_phy_init()
Dmv_sas.c1254 (dev->tproto & SAS_PROTOCOL_STP)) ? 0 : 1; in mvs_debug_I_T_nexus_reset()
/linux-6.6.21/drivers/scsi/isci/
Dphy.c1408 iphy->sas_phy.tproto = 0; in isci_phy_init()
Dremote_device.c1089 if (dev->dev_type == SAS_SATA_DEV || (dev->tproto & SAS_PROTOCOL_SATA)) { in sci_remote_device_ready_state_enter()
/linux-6.6.21/drivers/scsi/pm8001/
Dpm8001_init.c166 sas_phy->tproto = 0; in pm8001_phy_init()
/linux-6.6.21/drivers/scsi/hisi_sas/
Dhisi_sas_main.c1022 sas_phy->tproto = 0; in hisi_sas_phy_init()