Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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()
77 sas_phy->tproto = 0; in asd_init_phy()
/linux-6.1.9/drivers/scsi/libsas/
Dsas_internal.h128 rphy->identify.target_port_protocols = dev->tproto; in sas_fill_in_rphy()
157 phy->identify.target_port_protocols = dev->tproto; in sas_phy_set_target()
Dsas_port.c90 port->tproto = phy->tproto; in sas_form_port_add_phy()
254 port->tproto = 0; in sas_deform_port()
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_ata.c247 dev->tproto = phy->attached_tproto; in sas_get_ata_info()
249 dev->tproto |= SAS_SATA_DEV; in sas_get_ata_info()
Dsas_scsi_host.c143 task->task_proto = task->dev->tproto; /* BUG_ON(!SSP) */ in sas_create_task()
1028 task->task_proto = device->tproto; in sas_execute_tmf()
1136 if (!(device->tproto & SAS_PROTOCOL_SSP)) in sas_execute_ssp_tmf()
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()
850 child->tproto = phy->attached_tproto; in sas_ex_discover_end_dev()
964 child->tproto = phy->attached_tproto; in sas_ex_discover_expander()
/linux-6.1.9/include/net/netfilter/
Dnf_tproxy.h107 nf_tproxy_handle_time_wait6(struct sk_buff *skb, int tproto, int thoff,
/linux-6.1.9/include/scsi/
Dlibsas.h185 enum sas_protocol tproto; member
265 enum sas_protocol tproto; member
324 enum sas_protocol tproto; member
Dsas.h420 u8 tproto:3; member
642 u8 tproto:3; member
/linux-6.1.9/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()
923 u8 tproto = READ_ONCE(t->parms.proto); in ipxip6_rcv() local
925 if (tproto != ipproto && tproto != 0) in ipxip6_rcv()
1288 u8 tproto; in ipxip6_tnl_xmit() local
1291 tproto = READ_ONCE(t->parms.proto); in ipxip6_tnl_xmit()
1292 if (tproto != protocol && tproto != 0) in ipxip6_tnl_xmit()
/linux-6.1.9/drivers/scsi/mvsas/
Dmv_init.c89 sas_phy->tproto = 0; in mvs_phy_init()
Dmv_sas.c1264 (dev->tproto & SAS_PROTOCOL_STP)) ? 0 : 1; in mvs_debug_I_T_nexus_reset()
/linux-6.1.9/drivers/scsi/isci/
Dphy.c1409 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.1.9/drivers/scsi/pm8001/
Dpm8001_init.c166 sas_phy->tproto = 0; in pm8001_phy_init()
/linux-6.1.9/drivers/scsi/hisi_sas/
Dhisi_sas_main.c977 sas_phy->tproto = 0; in hisi_sas_phy_init()