/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_proto_sctp.c | 266 /* Copy the vtag into the state info */ in sctp_new() 270 if (sh->vtag) in sctp_new() 278 pr_debug("Setting vtag %x for new conn\n", in sctp_new() 281 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new() 283 pr_debug("Setting vtag %x for secondary conntrack\n", in sctp_new() 284 sh->vtag); in sctp_new() 285 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new() 289 pr_debug("Setting vtag %x for new conn OOTB\n", in sctp_new() 290 sh->vtag); in sctp_new() 491 __be32 vtag; nf_conntrack_sctp_packet() local [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_proto_sctp.c | 282 /* Copy the vtag into the state info */ in sctp_new() 286 if (sh->vtag) in sctp_new() 294 pr_debug("Setting vtag %x for new conn\n", in sctp_new() 297 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new() 299 pr_debug("Setting vtag %x for secondary conntrack\n", in sctp_new() 300 sh->vtag); in sctp_new() 301 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new() 305 pr_debug("Setting vtag %x for new conn OOTB\n", in sctp_new() 306 sh->vtag); in sctp_new() 504 __be32 vtag; nf_conntrack_sctp_packet() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/mei/ |
H A D | interrupt.c | 126 struct mei_ext_hdr *vtag = NULL; in mei_cl_irq_read_msg() local 132 vtag = ext; in mei_cl_irq_read_msg() 144 if (!vtag) { in mei_cl_irq_read_msg() 145 cl_dbg(dev, cl, "vtag not found in extended header.\n"); in mei_cl_irq_read_msg() 150 cl_dbg(dev, cl, "vtag: %d\n", vtag->ext_payload[0]); in mei_cl_irq_read_msg() 151 if (cb->vtag && cb->vtag != vtag->ext_payload[0]) { in mei_cl_irq_read_msg() 153 cb->vtag, vta in mei_cl_irq_read_msg() [all...] |
H A D | main.c | 84 * mei_cl_vtag_remove_by_fp - remove vtag that corresponds to fp from list 128 cl_dbg(dev, cl, "not the last vtag\n"); in mei_release() 140 cl_dbg(dev, cl, "not the last vtag after disconnect\n"); in mei_release() 281 * mei_cl_vtag_by_fp - obtain the vtag by file pointer 286 * Return: vtag value on success, otherwise 0 297 return cl_vtag->vtag; in mei_cl_vtag_by_fp() 378 cb->vtag = mei_cl_vtag_by_fp(cl, file); in mei_write() 494 * mei_ioctl_connect_vtag - connect to fw client with vtag IOCTL function 499 * @vtag: vm tag 508 u8 vtag) in mei_ioctl_connect_vtag() 505 mei_ioctl_connect_vtag(struct file *file, const uuid_le *in_client_uuid, struct mei_client *client, u8 vtag) mei_ioctl_connect_vtag() argument 649 u8 vtag; mei_ioctl() local [all...] |
H A D | client.c | 358 * mei_cl_set_read_by_fp - set pending_read flag to vtag struct for given fp 402 cb->vtag = 0; in mei_io_cb_init() 1281 * mei_cl_vtag_alloc - allocate and fill the vtag structure 1284 * @vtag: vm tag 1290 struct mei_cl_vtag *mei_cl_vtag_alloc(struct file *fp, u8 vtag) in mei_cl_vtag_alloc() argument 1299 cl_vtag->vtag = vtag; in mei_cl_vtag_alloc() 1306 * mei_cl_fp_by_vtag - obtain the file pointer by vtag 1309 * @vtag: vm tag 1313 * * ERR_PTR(-ENOENT) if vtag i 1315 mei_cl_fp_by_vtag(const struct mei_cl *cl, u8 vtag) mei_cl_fp_by_vtag() argument 1332 mei_cl_reset_read_by_vtag(const struct mei_cl *cl, u8 vtag) mei_cl_reset_read_by_vtag() argument 1725 mei_ext_hdr_set_vtag(struct mei_ext_hdr *ext, u8 vtag) mei_ext_hdr_set_vtag() argument [all...] |
H A D | client.h | 97 * mei_me_cl_vt - return me client vtag supported status 149 struct mei_cl_vtag *mei_cl_vtag_alloc(struct file *fp, u8 vtag); 150 const struct file *mei_cl_fp_by_vtag(const struct mei_cl *cl, u8 vtag);
|
/kernel/linux/linux-6.6/drivers/misc/mei/ |
H A D | main.c | 84 * mei_cl_vtag_remove_by_fp - remove vtag that corresponds to fp from list 128 cl_dbg(dev, cl, "not the last vtag\n"); in mei_release() 140 cl_dbg(dev, cl, "not the last vtag after disconnect\n"); in mei_release() 281 * mei_cl_vtag_by_fp - obtain the vtag by file pointer 286 * Return: vtag value on success, otherwise 0 297 return cl_vtag->vtag; in mei_cl_vtag_by_fp() 378 cb->vtag = mei_cl_vtag_by_fp(cl, file); in mei_write() 494 * mei_ioctl_connect_vtag - connect to fw client with vtag IOCTL function 499 * @vtag: vm tag 508 u8 vtag) in mei_ioctl_connect_vtag() 505 mei_ioctl_connect_vtag(struct file *file, const uuid_le *in_client_uuid, struct mei_client *client, u8 vtag) mei_ioctl_connect_vtag() argument 649 u8 vtag; mei_ioctl() local [all...] |
H A D | interrupt.c | 154 cl_dbg(dev, cl, "no vtag or gsc found in extended header.\n"); in mei_cl_irq_read_msg() 161 cl_dbg(dev, cl, "vtag: %d\n", vtag_hdr->vtag); in mei_cl_irq_read_msg() 162 if (cb->vtag && cb->vtag != vtag_hdr->vtag) { in mei_cl_irq_read_msg() 164 cb->vtag, vtag_hdr->vtag); in mei_cl_irq_read_msg() 168 cb->vtag = vtag_hdr->vtag; in mei_cl_irq_read_msg() [all...] |
H A D | bus.c | 30 * @vtag: virtual tag 35 ssize_t __mei_cl_send(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag, in __mei_cl_send() argument 38 return __mei_cl_send_timeout(cl, buf, length, vtag, mode, MAX_SCHEDULE_TIMEOUT); in __mei_cl_send() 47 * @vtag: virtual tag 55 ssize_t __mei_cl_send_timeout(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag, in __mei_cl_send_timeout() argument 85 if (vtag) { in __mei_cl_send_timeout() 86 /* Check if vtag is supported by client */ in __mei_cl_send_timeout() 119 cb->vtag = vtag; in __mei_cl_send_timeout() 149 * @vtag 154 __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length, u8 *vtag, unsigned int mode, unsigned long timeout) __mei_cl_recv() argument 272 mei_cldev_send_vtag(struct mei_cl_device *cldev, const u8 *buf, size_t length, u8 vtag) mei_cldev_send_vtag() argument 294 mei_cldev_recv_vtag(struct mei_cl_device *cldev, u8 *buf, size_t length, u8 *vtag) mei_cldev_recv_vtag() argument 316 mei_cldev_recv_nonblock_vtag(struct mei_cl_device *cldev, u8 *buf, size_t length, u8 *vtag) mei_cldev_recv_nonblock_vtag() argument [all...] |
H A D | client.c | 360 * mei_cl_set_read_by_fp - set pending_read flag to vtag struct for given fp 404 cb->vtag = 0; in mei_io_cb_init() 1288 * mei_cl_vtag_alloc - allocate and fill the vtag structure 1291 * @vtag: vm tag 1297 struct mei_cl_vtag *mei_cl_vtag_alloc(struct file *fp, u8 vtag) in mei_cl_vtag_alloc() argument 1306 cl_vtag->vtag = vtag; in mei_cl_vtag_alloc() 1313 * mei_cl_fp_by_vtag - obtain the file pointer by vtag 1316 * @vtag: virtual tag 1320 * * ERR_PTR(-ENOENT) if vtag i 1322 mei_cl_fp_by_vtag(const struct mei_cl *cl, u8 vtag) mei_cl_fp_by_vtag() argument 1341 mei_cl_reset_read_by_vtag(const struct mei_cl *cl, u8 vtag) mei_cl_reset_read_by_vtag() argument 1736 mei_ext_hdr_set_vtag(void *ext, u8 vtag) mei_ext_hdr_set_vtag() argument [all...] |
H A D | mei_dev.h | 213 * @vtag: virtual tag 226 u8 vtag; member 235 * struct mei_cl_vtag - file pointer to vtag mapping structure 239 * @vtag: corresponding vtag 245 u8 vtag; member 265 * @vtag_map: vtag map 385 ssize_t __mei_cl_send(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag, 387 ssize_t __mei_cl_send_timeout(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag, 389 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length, u8 *vtag, [all...] |
H A D | client.h | 97 * mei_me_cl_vt - return me client vtag supported status 149 struct mei_cl_vtag *mei_cl_vtag_alloc(struct file *fp, u8 vtag); 150 const struct file *mei_cl_fp_by_vtag(const struct mei_cl *cl, u8 vtag);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mei_cl_bus.h | 101 size_t length, u8 vtag); 103 u8 *vtag); 105 size_t length, u8 *vtag);
|
/kernel/linux/linux-5.10/net/sctp/ |
H A D | output.c | 73 void sctp_packet_config(struct sctp_packet *packet, __u32 vtag, in sctp_packet_config() argument 81 pr_debug("%s: packet:%p vtag:0x%x\n", __func__, packet, vtag); in sctp_packet_config() 82 packet->vtag = vtag; in sctp_packet_config() 155 packet->vtag = 0; in sctp_packet_init() 584 sh->vtag = htonl(packet->vtag); in sctp_packet_transmit()
|
H A D | sm_statefuns.c | 358 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_5_1B_init() 1303 * want to send back the attacker's vtag. in sctp_sf_send_restart_abort() 1417 * Compare vtag/tietag values to determine unexpected COOKIE-ECHO 1500 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_unexpected_init() 2973 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_9_2_reshutack() 3429 /* Reflect vtag if T-Bit is set */ in sctp_sf_tabort_8_4_8() 3431 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_tabort_8_4_8() 3696 /* Reflect vtag if T-Bit is set */ in sctp_sf_shut_8_4_5() 3698 packet->vtag in sctp_sf_shut_8_4_5() 6268 __u32 vtag; sctp_ootb_pkt_new() local [all...] |
/kernel/linux/linux-5.10/include/linux/netfilter/ |
H A D | nf_conntrack_sctp.h | 11 __be32 vtag[IP_CT_DIR_MAX]; member
|
/kernel/linux/linux-6.6/include/linux/netfilter/ |
H A D | nf_conntrack_sctp.h | 11 __be32 vtag[IP_CT_DIR_MAX]; member
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | output.c | 73 void sctp_packet_config(struct sctp_packet *packet, __u32 vtag, in sctp_packet_config() argument 81 pr_debug("%s: packet:%p vtag:0x%x\n", __func__, packet, vtag); in sctp_packet_config() 82 packet->vtag = vtag; in sctp_packet_config() 157 packet->vtag = 0; in sctp_packet_init() 610 sh->vtag = htonl(packet->vtag); in sctp_packet_transmit()
|
H A D | sm_statefuns.c | 360 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_5_1B_init() 1352 * want to send back the attacker's vtag. in sctp_sf_send_restart_abort() 1466 * Compare vtag/tietag values to determine unexpected COOKIE-ECHO 1544 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_unexpected_init() 3037 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_9_2_reshutack() 3493 /* Reflect vtag if T-Bit is set */ in sctp_sf_tabort_8_4_8() 3495 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_tabort_8_4_8() 3799 /* Reflect vtag if T-Bit is set */ in sctp_sf_shut_8_4_5() 3801 packet->vtag in sctp_sf_shut_8_4_5() 6368 __u32 vtag; sctp_ootb_pkt_new() local [all...] |
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | mei.h | 70 * struct mei_connect_client_vtag - mei client information struct with vtag 73 * @vtag: virtual tag 78 __u8 vtag; member 98 * FW Client (given by UUID), and virtual tag (vtag). 108 * The input parameter is UUID of the FW Client, a vtag [0,255]
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | mei.h | 70 * struct mei_connect_client_vtag - mei client information struct with vtag 73 * @vtag: virtual tag 78 __u8 vtag; member 98 * FW Client (given by UUID), and virtual tag (vtag). 108 * The input parameter is UUID of the FW Client, a vtag [0,255]
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | mei.h | 38 __u8 vtag; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | mei.h | 38 __u8 vtag; member
|
/kernel/linux/linux-5.10/include/net/sctp/ |
H A D | sm.h | 380 if (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag) in sctp_vtag_verify() 415 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || in sctp_vtag_verify_either() 417 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { in sctp_vtag_verify_either()
|
/kernel/linux/linux-6.6/include/net/sctp/ |
H A D | sm.h | 384 if (ntohl(chunk->sctp_hdr->vtag) != asoc->c.my_vtag) in sctp_vtag_verify() 420 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || in sctp_vtag_verify_either() 422 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { in sctp_vtag_verify_either()
|