/linux-6.1.9/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.c | 14 void pkt_sys_init(struct hfi_sys_init_pkt *pkt, u32 arch_type) in pkt_sys_init() argument 16 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init() 17 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 18 pkt->arch_type = arch_type; in pkt_sys_init() 21 void pkt_sys_pc_prep(struct hfi_sys_pc_prep_pkt *pkt) in pkt_sys_pc_prep() argument 23 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep() 24 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 27 void pkt_sys_idle_indicator(struct hfi_sys_set_property_pkt *pkt, u32 enable) in pkt_sys_idle_indicator() argument 29 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator() 31 pkt->hdr.size = struct_size(pkt, data, 1) + sizeof(*hfi); in pkt_sys_idle_indicator() [all …]
|
D | hfi_msgs.c | 23 struct hfi_msg_event_notify_pkt *pkt) in event_seq_changed() argument 41 switch (pkt->event_data1) { in event_seq_changed() 50 event.event_type = pkt->event_data1; in event_seq_changed() 52 num_properties_changed = pkt->event_data2; in event_seq_changed() 58 data_ptr = (u8 *)&pkt->ext_event_data[0]; in event_seq_changed() 132 struct hfi_msg_event_notify_pkt *pkt) in event_release_buffer_ref() argument 138 pkt->ext_event_data; in event_release_buffer_ref() 150 struct hfi_msg_event_notify_pkt *pkt) in event_sys_error() argument 152 if (pkt) in event_sys_error() 155 pkt->shdr.session_id, pkt->event_data1, in event_sys_error() [all …]
|
/linux-6.1.9/arch/sparc/kernel/ |
D | viohs.c | 50 struct vio_ver_info pkt; in send_version() local 54 memset(&pkt, 0, sizeof(pkt)); in send_version() 55 init_tag(&pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_VER_INFO); in send_version() 56 pkt.major = major; in send_version() 57 pkt.minor = minor; in send_version() 58 pkt.dev_class = vio->dev_class; in send_version() 63 return send_ctrl(vio, &pkt.tag, sizeof(pkt)); in send_version() 163 struct vio_msg_tag *pkt = arg; in process_unknown() local 166 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in process_unknown() 180 struct vio_dring_register pkt; in send_dreg() member [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_hdr.h | 34 static inline struct sk_buff *PKT_TO_SKB(struct rxe_pkt_info *pkt) in PKT_TO_SKB() argument 36 return container_of((void *)pkt, struct sk_buff, cb); in PKT_TO_SKB() 280 static inline u8 bth_opcode(struct rxe_pkt_info *pkt) in bth_opcode() argument 282 return __bth_opcode(pkt->hdr); in bth_opcode() 285 static inline void bth_set_opcode(struct rxe_pkt_info *pkt, u8 opcode) in bth_set_opcode() argument 287 __bth_set_opcode(pkt->hdr, opcode); in bth_set_opcode() 290 static inline u8 bth_se(struct rxe_pkt_info *pkt) in bth_se() argument 292 return __bth_se(pkt->hdr); in bth_se() 295 static inline void bth_set_se(struct rxe_pkt_info *pkt, int se) in bth_set_se() argument 297 __bth_set_se(pkt->hdr, se); in bth_set_se() [all …]
|
D | rxe_recv.c | 13 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state() argument 21 pkt_type = pkt->opcode & 0xe0; in check_type_state() 41 if (pkt->mask & RXE_REQ_MASK) { in check_type_state() 67 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys() argument 71 u16 pkey = bth_pkey(pkt); in check_keys() 73 pkt->pkey_index = 0; in check_keys() 83 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys() 92 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr() argument 95 struct sk_buff *skb = PKT_TO_SKB(pkt); in check_addr() 100 if (unlikely(pkt->port_num != qp->attr.port_num)) in check_addr() [all …]
|
D | rxe_resp.c | 87 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_resp_queue_pkt() local 91 must_sched = (pkt->opcode == IB_OPCODE_RC_RDMA_READ_REQUEST) || in rxe_resp_queue_pkt() 123 struct rxe_pkt_info *pkt) in check_psn() argument 125 int diff = psn_compare(pkt->psn, qp->resp.psn); in check_psn() 150 if (pkt->mask & RXE_START_MASK) { in check_psn() 167 struct rxe_pkt_info *pkt) in check_op_seq() argument 174 switch (pkt->opcode) { in check_op_seq() 186 switch (pkt->opcode) { in check_op_seq() 196 switch (pkt->opcode) { in check_op_seq() 215 switch (pkt->opcode) { in check_op_seq() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 254 static void qib_user_sdma_init_frag(struct qib_user_sdma_pkt *pkt, in qib_user_sdma_init_frag() argument 261 pkt->addr[i].offset = offset; in qib_user_sdma_init_frag() 262 pkt->addr[i].length = len; in qib_user_sdma_init_frag() 263 pkt->addr[i].first_desc = first_desc; in qib_user_sdma_init_frag() 264 pkt->addr[i].last_desc = last_desc; in qib_user_sdma_init_frag() 265 pkt->addr[i].put_page = put_page; in qib_user_sdma_init_frag() 266 pkt->addr[i].dma_mapped = dma_mapped; in qib_user_sdma_init_frag() 267 pkt->addr[i].page = page; in qib_user_sdma_init_frag() 268 pkt->addr[i].kvaddr = kvaddr; in qib_user_sdma_init_frag() 269 pkt->addr[i].addr = dma_addr; in qib_user_sdma_init_frag() [all …]
|
/linux-6.1.9/drivers/usb/renesas_usbhs/ |
D | fifo.c | 22 void usbhs_pkt_init(struct usbhs_pkt *pkt) in usbhs_pkt_init() argument 24 INIT_LIST_HEAD(&pkt->node); in usbhs_pkt_init() 30 static int usbhsf_null_handle(struct usbhs_pkt *pkt, int *is_done) in usbhsf_null_handle() argument 32 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle() 45 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push() argument 47 struct usbhs_pkt *pkt), in usbhs_pkt_push() argument 67 list_move_tail(&pkt->node, &pipe->list); in usbhs_pkt_push() 74 pkt->pipe = pipe; in usbhs_pkt_push() 75 pkt->buf = buf; in usbhs_pkt_push() 76 pkt->handler = pipe->handler; in usbhs_pkt_push() [all …]
|
/linux-6.1.9/net/caif/ |
D | cfpkt_skbuff.c | 17 #define PKT_ERROR(pkt, errmsg) \ argument 19 cfpkt_priv(pkt)->erronous = true; \ 20 skb_reset_tail_pointer(&pkt->skb); \ 45 static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv() argument 47 return (struct cfpkt_priv_data *) pkt->skb.cb; in cfpkt_priv() 50 static inline bool is_erronous(struct cfpkt *pkt) in is_erronous() argument 52 return cfpkt_priv(pkt)->erronous; in is_erronous() 55 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb() argument 57 return &pkt->skb; in pkt_to_skb() 67 struct cfpkt *pkt = skb_to_pkt(nativepkt); in cfpkt_fromnative() local [all …]
|
D | cfctrl.c | 23 int cmd, struct cfpkt *pkt){ in handle_loop() argument 28 int cmd, struct cfpkt *pkt); 30 static int cfctrl_recv(struct cflayer *layr, struct cfpkt *pkt); 178 struct cfpkt *pkt; in cfctrl_enum_req() local 186 pkt = cfpkt_create(CFPKT_CTRL_PKT_LEN); in cfctrl_enum_req() 187 if (!pkt) in cfctrl_enum_req() 190 init_info(cfpkt_info(pkt), cfctrl); in cfctrl_enum_req() 191 cfpkt_info(pkt)->dev_info->id = physlinkid; in cfctrl_enum_req() 193 cfpkt_addbdy(pkt, CFCTRL_CMD_ENUM); in cfctrl_enum_req() 194 cfpkt_addbdy(pkt, physlinkid); in cfctrl_enum_req() [all …]
|
D | cfserl.c | 29 static int cfserl_receive(struct cflayer *layr, struct cfpkt *pkt); 30 static int cfserl_transmit(struct cflayer *layr, struct cfpkt *pkt); 58 struct cfpkt *pkt = NULL; in cfserl_receive() local 72 pkt = layr->incomplete_frm; in cfserl_receive() 73 if (pkt == NULL) { in cfserl_receive() 78 pkt = newpkt; in cfserl_receive() 85 cfpkt_extr_head(pkt, &tmp8, 1); in cfserl_receive() 87 while (cfpkt_more(pkt) in cfserl_receive() 89 cfpkt_extr_head(pkt, &tmp8, 1); in cfserl_receive() 91 if (!cfpkt_more(pkt)) { in cfserl_receive() [all …]
|
/linux-6.1.9/include/net/netfilter/ |
D | nf_tables_ipv6.h | 9 static inline void nft_set_pktinfo_ipv6(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv6() argument 15 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in nft_set_pktinfo_ipv6() 17 nft_set_pktinfo_unspec(pkt); in nft_set_pktinfo_ipv6() 21 pkt->flags = NFT_PKTINFO_L4PROTO; in nft_set_pktinfo_ipv6() 22 pkt->tprot = protohdr; in nft_set_pktinfo_ipv6() 23 pkt->thoff = thoff; in nft_set_pktinfo_ipv6() 24 pkt->fragoff = frag_off; in nft_set_pktinfo_ipv6() 27 static inline int __nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt) in __nft_set_pktinfo_ipv6_validate() argument 37 ip6h = skb_header_pointer(pkt->skb, skb_network_offset(pkt->skb), in __nft_set_pktinfo_ipv6_validate() 46 if (pkt_len + sizeof(*ip6h) > pkt->skb->len) in __nft_set_pktinfo_ipv6_validate() [all …]
|
D | nf_tables_ipv4.h | 8 static inline void nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv4() argument 12 ip = ip_hdr(pkt->skb); in nft_set_pktinfo_ipv4() 13 pkt->flags = NFT_PKTINFO_L4PROTO; in nft_set_pktinfo_ipv4() 14 pkt->tprot = ip->protocol; in nft_set_pktinfo_ipv4() 15 pkt->thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4() 16 pkt->fragoff = ntohs(ip->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4() 19 static inline int __nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt) in __nft_set_pktinfo_ipv4_validate() argument 24 iph = skb_header_pointer(pkt->skb, skb_network_offset(pkt->skb), in __nft_set_pktinfo_ipv4_validate() 34 if (pkt->skb->len < len) in __nft_set_pktinfo_ipv4_validate() 39 pkt->flags = NFT_PKTINFO_L4PROTO; in __nft_set_pktinfo_ipv4_validate() [all …]
|
/linux-6.1.9/net/vmw_vsock/ |
D | virtio_transport_common.c | 48 struct virtio_vsock_pkt *pkt; in virtio_transport_alloc_pkt() local 51 pkt = kzalloc(sizeof(*pkt), GFP_KERNEL); in virtio_transport_alloc_pkt() 52 if (!pkt) in virtio_transport_alloc_pkt() 55 pkt->hdr.type = cpu_to_le16(info->type); in virtio_transport_alloc_pkt() 56 pkt->hdr.op = cpu_to_le16(info->op); in virtio_transport_alloc_pkt() 57 pkt->hdr.src_cid = cpu_to_le64(src_cid); in virtio_transport_alloc_pkt() 58 pkt->hdr.dst_cid = cpu_to_le64(dst_cid); in virtio_transport_alloc_pkt() 59 pkt->hdr.src_port = cpu_to_le32(src_port); in virtio_transport_alloc_pkt() 60 pkt->hdr.dst_port = cpu_to_le32(dst_port); in virtio_transport_alloc_pkt() 61 pkt->hdr.flags = cpu_to_le32(info->flags); in virtio_transport_alloc_pkt() [all …]
|
D | vmci_transport.c | 40 struct vmci_transport_packet *pkt); 44 struct vmci_transport_packet *pkt); 47 struct vmci_transport_packet *pkt); 50 struct vmci_transport_packet *pkt); 53 struct vmci_transport_packet *pkt); 55 struct vmci_transport_packet *pkt); 65 struct vmci_transport_packet pkt; member 112 vmci_transport_packet_init(struct vmci_transport_packet *pkt, in vmci_transport_packet_init() argument 125 pkt->dg.src = vmci_make_handle(VMADDR_CID_ANY, in vmci_transport_packet_init() 127 pkt->dg.dst = vmci_make_handle(dst->svm_cid, in vmci_transport_packet_init() [all …]
|
/linux-6.1.9/drivers/soc/mediatek/ |
D | mtk-cmdq-helper.c | 109 struct cmdq_pkt *pkt; in cmdq_pkt_create() local 113 pkt = kzalloc(sizeof(*pkt), GFP_KERNEL); in cmdq_pkt_create() 114 if (!pkt) in cmdq_pkt_create() 116 pkt->va_base = kzalloc(size, GFP_KERNEL); in cmdq_pkt_create() 117 if (!pkt->va_base) { in cmdq_pkt_create() 118 kfree(pkt); in cmdq_pkt_create() 121 pkt->buf_size = size; in cmdq_pkt_create() 122 pkt->cl = (void *)client; in cmdq_pkt_create() 125 dma_addr = dma_map_single(dev, pkt->va_base, pkt->buf_size, in cmdq_pkt_create() 129 kfree(pkt->va_base); in cmdq_pkt_create() [all …]
|
/linux-6.1.9/include/net/caif/ |
D | cfpkt.h | 23 void cfpkt_destroy(struct cfpkt *pkt); 33 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len); 35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt) in cfpkt_extr_head_u8() argument 39 cfpkt_extr_head(pkt, &tmp, 1); in cfpkt_extr_head_u8() 44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt) in cfpkt_extr_head_u16() argument 48 cfpkt_extr_head(pkt, &tmp, 2); in cfpkt_extr_head_u16() 53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt) in cfpkt_extr_head_u32() argument 57 cfpkt_extr_head(pkt, &tmp, 4); in cfpkt_extr_head_u32() 71 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len); 81 int cfpkt_extr_trail(struct cfpkt *pkt, void *data, u16 len); [all …]
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | hwmon.c | 571 struct cpucp_packet pkt; in hl_get_temperature() local 575 memset(&pkt, 0, sizeof(pkt)); in hl_get_temperature() 577 pkt.ctl = cpu_to_le32(CPUCP_PACKET_TEMPERATURE_GET << in hl_get_temperature() 579 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature() 580 pkt.type = __cpu_to_le16(attr); in hl_get_temperature() 583 pkt.ctl, pkt.sensor_index, pkt.type); in hl_get_temperature() 585 rc = hdev->asic_funcs->send_cpu_message(hdev, (u32 *) &pkt, sizeof(pkt), in hl_get_temperature() 603 struct cpucp_packet pkt; in hl_set_temperature() local 606 memset(&pkt, 0, sizeof(pkt)); in hl_set_temperature() 608 pkt.ctl = cpu_to_le32(CPUCP_PACKET_TEMPERATURE_SET << in hl_set_temperature() [all …]
|
/linux-6.1.9/net/netfilter/ |
D | nft_set_pipapo_avx2.c | 219 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_2() argument 222 u8 pg[2] = { pkt[0] >> 4, pkt[0] & 0xf }; in nft_pipapo_avx2_lookup_4b_2() 281 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_4() argument 284 u8 pg[4] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf }; in nft_pipapo_avx2_lookup_4b_4() 357 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_8() argument 359 u8 pg[8] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf, in nft_pipapo_avx2_lookup_4b_8() 360 pkt[2] >> 4, pkt[2] & 0xf, pkt[3] >> 4, pkt[3] & 0xf, in nft_pipapo_avx2_lookup_4b_8() 452 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_12() argument 454 u8 pg[12] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf, in nft_pipapo_avx2_lookup_4b_12() 455 pkt[2] >> 4, pkt[2] & 0xf, pkt[3] >> 4, pkt[3] & 0xf, in nft_pipapo_avx2_lookup_4b_12() [all …]
|
D | nft_reject_inet.c | 19 const struct nft_pktinfo *pkt) in nft_reject_inet_eval() argument 23 switch (nft_pf(pkt)) { in nft_reject_inet_eval() 27 nf_send_unreach(pkt->skb, priv->icmp_code, in nft_reject_inet_eval() 28 nft_hook(pkt)); in nft_reject_inet_eval() 31 nf_send_reset(nft_net(pkt), nft_sk(pkt), in nft_reject_inet_eval() 32 pkt->skb, nft_hook(pkt)); in nft_reject_inet_eval() 35 nf_send_unreach(pkt->skb, in nft_reject_inet_eval() 37 nft_hook(pkt)); in nft_reject_inet_eval() 44 nf_send_unreach6(nft_net(pkt), pkt->skb, in nft_reject_inet_eval() 45 priv->icmp_code, nft_hook(pkt)); in nft_reject_inet_eval() [all …]
|
D | nft_reject_netdev.c | 86 const struct nft_pktinfo *pkt) in nft_reject_netdev_eval() argument 88 struct ethhdr *eth = eth_hdr(pkt->skb); in nft_reject_netdev_eval() 100 nft_reject_netdev_send_v4_unreach(nft_net(pkt), pkt->skb, in nft_reject_netdev_eval() 101 nft_in(pkt), in nft_reject_netdev_eval() 102 nft_hook(pkt), in nft_reject_netdev_eval() 106 nft_reject_netdev_send_v4_tcp_reset(nft_net(pkt), pkt->skb, in nft_reject_netdev_eval() 107 nft_in(pkt), in nft_reject_netdev_eval() 108 nft_hook(pkt)); in nft_reject_netdev_eval() 111 nft_reject_netdev_send_v4_unreach(nft_net(pkt), pkt->skb, in nft_reject_netdev_eval() 112 nft_in(pkt), in nft_reject_netdev_eval() [all …]
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | usbtouchscreen.c | 71 void (*process_pkt) (struct usbtouch_usb *usbtouch, unsigned char *pkt, int len); 79 int (*get_pkt_len) (unsigned char *pkt, int len); 81 int (*read_data) (struct usbtouch_usb *usbtouch, unsigned char *pkt); 264 static int e2i_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in e2i_read_data() argument 266 int tmp = (pkt[0] << 8) | pkt[1]; in e2i_read_data() 267 dev->x = (pkt[2] << 8) | pkt[3]; in e2i_read_data() 268 dev->y = (pkt[4] << 8) | pkt[5]; in e2i_read_data() 332 static int egalax_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in egalax_read_data() argument 334 if ((pkt[0] & EGALAX_PKT_TYPE_MASK) != EGALAX_PKT_TYPE_REPT) in egalax_read_data() 337 dev->x = ((pkt[3] & 0x0F) << 7) | (pkt[4] & 0x7F); in egalax_read_data() [all …]
|
/linux-6.1.9/drivers/media/platform/amphion/ |
D | vpu_msgs.c | 25 void (*done)(struct vpu_inst *inst, struct vpu_rpc_event *pkt); 28 static void vpu_session_handle_start_done(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_start_done() argument 33 static void vpu_session_handle_mem_request(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_mem_request() argument 37 vpu_iface_unpack_msg_data(inst->core, pkt, (void *)&req_data); in vpu_session_handle_mem_request() 57 static void vpu_session_handle_stop_done(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_stop_done() argument 64 static void vpu_session_handle_seq_hdr(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_seq_hdr() argument 72 vpu_iface_unpack_msg_data(inst->core, pkt, (void *)&info); in vpu_session_handle_seq_hdr() 76 static void vpu_session_handle_resolution_change(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_resolution_change() argument 81 static void vpu_session_handle_enc_frame_done(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_enc_frame_done() argument 85 vpu_iface_unpack_msg_data(inst->core, pkt, (void *)&info); in vpu_session_handle_enc_frame_done() [all …]
|
/linux-6.1.9/drivers/vhost/ |
D | vsock.c | 111 struct virtio_vsock_pkt *pkt; in vhost_transport_do_send_pkt() local 126 pkt = list_first_entry(&vsock->send_pkt_list, in vhost_transport_do_send_pkt() 128 list_del_init(&pkt->list); in vhost_transport_do_send_pkt() 135 list_add(&pkt->list, &vsock->send_pkt_list); in vhost_transport_do_send_pkt() 142 list_add(&pkt->list, &vsock->send_pkt_list); in vhost_transport_do_send_pkt() 156 virtio_transport_free_pkt(pkt); in vhost_transport_do_send_pkt() 162 if (iov_len < sizeof(pkt->hdr)) { in vhost_transport_do_send_pkt() 163 virtio_transport_free_pkt(pkt); in vhost_transport_do_send_pkt() 169 payload_len = pkt->len - pkt->off; in vhost_transport_do_send_pkt() 174 if (payload_len > iov_len - sizeof(pkt->hdr)) { in vhost_transport_do_send_pkt() [all …]
|
/linux-6.1.9/net/bridge/netfilter/ |
D | nft_reject_bridge.c | 112 const struct nft_pktinfo *pkt) in nft_reject_bridge_eval() argument 115 const unsigned char *dest = eth_hdr(pkt->skb)->h_dest; in nft_reject_bridge_eval() 121 switch (eth_hdr(pkt->skb)->h_proto) { in nft_reject_bridge_eval() 125 nft_reject_br_send_v4_unreach(nft_net(pkt), pkt->skb, in nft_reject_bridge_eval() 126 nft_in(pkt), in nft_reject_bridge_eval() 127 nft_hook(pkt), in nft_reject_bridge_eval() 131 nft_reject_br_send_v4_tcp_reset(nft_net(pkt), pkt->skb, in nft_reject_bridge_eval() 132 nft_in(pkt), in nft_reject_bridge_eval() 133 nft_hook(pkt)); in nft_reject_bridge_eval() 136 nft_reject_br_send_v4_unreach(nft_net(pkt), pkt->skb, in nft_reject_bridge_eval() [all …]
|