Home
last modified time | relevance | path

Searched refs:pkt (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/linux/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.c14 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 …]
H A Dhfi_msgs.c23 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/arch/sparc/kernel/
H A Dviohs.c50 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/drivers/infiniband/sw/rxe/
H A Drxe_hdr.h34 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 …]
H A Drxe_recv.c13 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state() argument
22 pkt_type = pkt->opcode & 0xe0; in check_type_state()
43 if (pkt->mask & RXE_REQ_MASK) { in check_type_state()
75 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys() argument
79 u16 pkey = bth_pkey(pkt); in check_keys()
81 pkt->pkey_index = 0; in check_keys()
91 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys()
100 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr() argument
103 struct sk_buff *skb = PKT_TO_SKB(pkt); in check_addr()
108 if (unlikely(pkt->port_num != qp->attr.port_num)) in check_addr()
[all …]
H A Drxe_resp.c71 struct rxe_pkt_info *pkt) in check_psn() argument
73 int diff = psn_compare(pkt->psn, qp->resp.psn); in check_psn()
98 if (pkt->mask & RXE_START_MASK) { in check_psn()
115 struct rxe_pkt_info *pkt) in check_op_seq() argument
122 switch (pkt->opcode) { in check_op_seq()
134 switch (pkt->opcode) { in check_op_seq()
144 switch (pkt->opcode) { in check_op_seq()
163 switch (pkt->opcode) { in check_op_seq()
174 switch (pkt->opcode) { in check_op_seq()
184 switch (pkt->opcode) { in check_op_seq()
[all …]
/linux/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c254 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/drivers/usb/renesas_usbhs/
H A Dfifo.c22 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/net/caif/
H A Dcfpkt_skbuff.c17 #define PKT_ERROR(pkt, errmsg) \ argument
19 cfpkt_priv(pkt)->erronous = true; \
20 skb_reset_tail_pointer(&pkt->skb); \
38 static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv() argument
40 return (struct cfpkt_priv_data *) pkt->skb.cb; in cfpkt_priv()
43 static inline bool is_erronous(struct cfpkt *pkt) in is_erronous() argument
45 return cfpkt_priv(pkt)->erronous; in is_erronous()
48 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb() argument
50 return &pkt->skb; in pkt_to_skb()
60 struct cfpkt *pkt = skb_to_pkt(nativepkt); in cfpkt_fromnative() local
[all …]
H A Dcfctrl.c23 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 …]
H A Dcfserl.c29 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/include/net/netfilter/
H A Dnf_tables_ipv4.h8 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()
32 len = iph_totlen(pkt->skb, iph); in __nft_set_pktinfo_ipv4_validate()
34 skb_len = pkt->skb->len - skb_network_offset(pkt->skb); in __nft_set_pktinfo_ipv4_validate()
[all …]
H A Dnf_tables_ipv6.h9 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 skb_len = pkt->skb->len - skb_network_offset(pkt->skb); in __nft_set_pktinfo_ipv6_validate()
[all …]
/linux/include/linux/soc/mediatek/
H A Dmtk-cmdq.h104 int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size);
111 void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt);
122 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value);
134 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys,
146 int cmdq_pkt_read_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low,
163 int cmdq_pkt_write_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx,
181 int cmdq_pkt_write_s_mask(struct cmdq_pkt *pkt, u16 high_addr_reg_idx,
194 int cmdq_pkt_write_s_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx,
209 int cmdq_pkt_write_s_mask_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx,
222 int cmdq_pkt_mem_move(struct cmdq_pkt *pkt, dma_addr_t src_addr, dma_addr_t dst_addr);
[all …]
/linux/drivers/accel/habanalabs/common/
H A Dhwmon.c572 struct cpucp_packet pkt; in hl_get_temperature() local
576 memset(&pkt, 0, sizeof(pkt)); in hl_get_temperature()
578 pkt.ctl = cpu_to_le32(CPUCP_PACKET_TEMPERATURE_GET << in hl_get_temperature()
580 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature()
581 pkt.type = __cpu_to_le16(attr); in hl_get_temperature()
582 rc = hdev->asic_funcs->send_cpu_message(hdev, (u32 *) &pkt, sizeof(pkt), in hl_get_temperature()
601 struct cpucp_packet pkt; in hl_set_temperature() local
604 memset(&pkt, 0, sizeof(pkt)); in hl_set_temperature()
606 pkt.ctl = cpu_to_le32(CPUCP_PACKET_TEMPERATURE_SET << in hl_set_temperature()
608 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_temperature()
[all …]
/linux/include/net/caif/
H A Dcfpkt.h23 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/net/netfilter/
H A Dnft_set_pipapo_avx2.c216 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_4b_2() argument
220 u8 pg[2] = { pkt[0] >> 4, pkt[0] & 0xf }; in nft_pipapo_avx2_lookup_4b_2()
279 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_4b_4() argument
283 u8 pg[4] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf }; in nft_pipapo_avx2_lookup_4b_4()
356 int offset, const u8 *pkt, 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 int offset, const u8 *pkt, in nft_pipapo_avx2_lookup_4b_12() argument
455 u8 pg[12] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf, in nft_pipapo_avx2_lookup_4b_12()
456 pkt[2] >> 4, pkt[2] & 0xf, pkt[3] >> 4, pkt[3] & 0xf, in nft_pipapo_avx2_lookup_4b_12()
[all …]
H A Dnft_reject_inet.c19 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 …]
H A Dnft_reject_netdev.c86 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/drivers/media/platform/amphion/
H A Dvpu_msgs.c25 void (*done)(struct vpu_inst *inst, struct vpu_rpc_event *pkt);
29 static void vpu_session_handle_start_done(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_start_done() argument
34 static void vpu_session_handle_mem_request(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_mem_request() argument
38 vpu_iface_unpack_msg_data(inst->core, pkt, (void *)&req_data); in vpu_session_handle_mem_request()
58 static void vpu_session_handle_stop_done(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_stop_done() argument
65 static void vpu_session_handle_seq_hdr(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_seq_hdr() argument
73 vpu_iface_unpack_msg_data(inst->core, pkt, (void *)&info); in vpu_session_handle_seq_hdr()
77 static void vpu_session_handle_resolution_change(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_resolution_change() argument
82 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
86 vpu_iface_unpack_msg_data(inst->core, pkt, (void *)&info); in vpu_session_handle_enc_frame_done()
[all …]
/linux/drivers/input/touchscreen/
H A Dusbtouchscreen.c77 int (*get_pkt_len) (unsigned char *pkt, int len);
79 int (*read_data) (struct usbtouch_usb *usbtouch, unsigned char *pkt);
105 void (*process_pkt)(struct usbtouch_usb *usbtouch, unsigned char *pkt, int len);
129 static int e2i_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in e2i_read_data() argument
131 int tmp = (pkt[0] << 8) | pkt[1]; in e2i_read_data()
132 dev->x = (pkt[2] << 8) | pkt[3]; in e2i_read_data()
133 dev->y = (pkt[4] << 8) | pkt[5]; in e2i_read_data()
200 static int egalax_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in egalax_read_data() argument
202 if ((pkt[0] & EGALAX_PKT_TYPE_MASK) != EGALAX_PKT_TYPE_REPT) in egalax_read_data()
205 dev->x = ((pkt[3] & 0x0F) << 7) | (pkt[4] & 0x7F); in egalax_read_data()
[all …]
/linux/net/qrtr/
H A Dns.c112 struct qrtr_ctrl_pkt pkt; in service_announce_new() local
119 iv.iov_base = &pkt; in service_announce_new()
120 iv.iov_len = sizeof(pkt); in service_announce_new()
122 memset(&pkt, 0, sizeof(pkt)); in service_announce_new()
123 pkt.cmd = cpu_to_le32(QRTR_TYPE_NEW_SERVER); in service_announce_new()
124 pkt.server.service = cpu_to_le32(srv->service); in service_announce_new()
125 pkt.server.instance = cpu_to_le32(srv->instance); in service_announce_new()
126 pkt.server.node = cpu_to_le32(srv->node); in service_announce_new()
127 pkt.server.port = cpu_to_le32(srv->port); in service_announce_new()
132 return kernel_sendmsg(qrtr_ns.sock, &msg, &iv, 1, sizeof(pkt)); in service_announce_new()
[all …]
/linux/net/vmw_vsock/
H A Dvmci_transport.c40 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/net/ipv6/netfilter/
H A Dnft_fib_ipv6.c23 const struct nft_pktinfo *pkt, in nft_fib6_flowi_init() argument
33 if (nft_hook(pkt) == NF_INET_FORWARD && in nft_fib6_flowi_init()
35 fl6->flowi6_iif = nft_out(pkt)->ifindex; in nft_fib6_flowi_init()
43 fl6->flowi6_oif = get_ifindex(dev ? dev : pkt->skb->dev); in nft_fib6_flowi_init()
50 fl6->flowi6_mark = pkt->skb->mark; in nft_fib6_flowi_init()
58 const struct nft_pktinfo *pkt, in __nft_fib6_eval_type() argument
66 .flowi6_proto = pkt->tprot, in __nft_fib6_eval_type()
67 .flowi6_uid = sock_net_uid(nft_net(pkt), NULL), in __nft_fib6_eval_type()
72 dev = nft_in(pkt); in __nft_fib6_eval_type()
74 dev = nft_out(pkt); in __nft_fib6_eval_type()
[all …]
/linux/net/bridge/netfilter/
H A Dnft_reject_bridge.c112 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 …]

12345678910>>...16