Home
last modified time | relevance | path

Searched +full:magic +full:- +full:packet (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */
3 * Copyright 2008 - 2015 Freescale Semiconductor Inc.
21 /* TX-Port: Unsupported Format */
29 /* IPR non-consistent-sp */
66 /* non Frame-Manager error */
122 __be16 cksum; /* Running-sum */
123 /* Flags&fragment-offset field of the last IP-header */
130 u8 ip_pid_off; /* IP PID (last IP-proto) offset */
146 * buffer; Note that the private-area will start from the base
152 * order to get the parser-result from a buffer.
[all …]
/openbmc/qemu/migration/
H A Dmultifd.c4 * Copyright (c) 2019-2020 Red Hat Inc
10 * See the COPYING file in the top-level directory.
19 #include "qemu/error-report.h"
23 #include "migration-stats.h"
26 #include "qemu-file.h"
32 #include "io/channel-file.h"
33 #include "io/channel-socket.h"
42 uint32_t magic; member
114 * Waddress-of-packed-member. in multifd_send_data_alloc()
116 size_minus_payload = sizeof(MultiFDSendData) - sizeof(MultiFDPayload); in multifd_send_data_alloc()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dpg.h1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
6 pg.h defines the user interface to the generic ATAPI packet
33 read and write buffers contain a single character "magic" flag.
49 char magic; /* == PG_MAGIC */ member
53 char packet[12]; /* packet command */ member
59 char magic; /* == PG_MAGIC */ member
H A Dnbd.h1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
50 #define NBD_FLAG_HAS_FLAGS (1 << 0) /* nbd-server supports flags */
51 #define NBD_FLAG_READ_ONLY (1 << 1) /* device is read-only */
70 /* These are sent over the network in the request/reply magic fields */
75 /* magic 0x668e33ef for structured reply not supported by kernel yet */
78 * This is the packet used for communication between client and
82 __be32 magic; /* NBD_REQUEST_MAGIC */ member
93 * This is the reply packet that nbd-server sends back to the client after
97 __be32 magic; /* NBD_REPLY_MAGIC */ member
/openbmc/linux/arch/um/drivers/
H A Dmconsole_user.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
17 * With uts namespaces, uts information becomes process-specific, so
48 msg.msg_name = &(req->origin); in mconsole_reply_v0()
49 msg.msg_namelen = req->originlen; in mconsole_reply_v0()
56 return sendmsg(req->originating_fd, &msg, 0); in mconsole_reply_v0()
66 if (!strncmp(req->request.data, cmd->command, in mconsole_parse()
67 strlen(cmd->command))) { in mconsole_parse()
83 req->originlen = sizeof(req->origin); in mconsole_get_request()
84 req->len = recvfrom(fd, &req->request, sizeof(req->request), 0, in mconsole_get_request()
[all …]
/openbmc/linux/drivers/power/reset/
H A Dlinkstation-poweroff.c1 // SPDX-License-Identifier: GPL-2.0
68 /* If WOL was enabled and a magic packet was received before powering in linkstation_mvphy_reg_intn()
69 * off, we won't be able to wake up by sending another magic packet. in linkstation_mvphy_reg_intn()
79 dev_err(&phydev->mdio.dev, "Write register failed, %d\n", rc); in linkstation_mvphy_reg_intn()
99 /* If WOL was enabled and a magic packet was received before powering in readynas_mvphy_set_reg()
100 * off, we won't be able to wake up by sending another magic packet. in readynas_mvphy_set_reg()
110 dev_err(&phydev->mdio.dev, "Write register failed, %d\n", rc); in readynas_mvphy_set_reg()
119 .mdio_node_name = "mdio-bus",
127 cfg->phy_set_reg(true); in linkstation_reboot_notifier()
139 cfg->phy_set_reg(false); in linkstation_poweroff()
[all …]
/openbmc/linux/drivers/net/usb/
H A Dlg-vl600.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 * replaces the standard ethernet header in a packet so only actual
43 __le32 magic; member
62 return -ENOMEM; in vl600_bind()
70 dev->driver_priv = s; in vl600_bind()
78 * packet depend only on whether it is on the IN or OUT endpoint. */ in vl600_bind()
79 dev->net->flags |= IFF_NOARP; in vl600_bind()
81 dev->net->flags |= IFF_MULTICAST; in vl600_bind()
88 struct vl600_state *s = dev->driver_priv; in vl600_unbind()
90 dev_kfree_skb(s->current_rx_buf); in vl600_unbind()
[all …]
H A Dgl620a.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * GeneSys GL620USB-A based links
4 * Copyright (C) 2001 by Jiun-Jie Huang <huangjj@genesyslogic.com.tw>
23 * GeneSys GL620USB-A (www.genesyslogic.com.tw)
29 * - GL620USB-A is full duplex; GL620USB is only half duplex for bulk.
30 * (Some cables, like the BAFO-100c, use the half duplex version.)
31 * - For the full duplex model, the low bit of the version code says
33 * - For the half duplex type, a control/interrupt handshake settles
37 * Original code from Jiun-Jie Huang <huangjj@genesyslogic.com.tw>
49 // max transmit packet number per transmit
[all …]
/openbmc/linux/tools/perf/util/
H A Dcs-etm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright(C) 2015-2018 Linaro Limited.
12 #include <linux/coresight-pmu.h>
22 #include "cs-etm.h"
23 #include "cs-etm-decoder/cs-etm-decoder.h"
37 #include "thread-stack.h"
40 #include "util/synthetic-events.h"
61 * Per-thread ignores the trace channel ID and instead assumes that
96 struct cs_etm_packet *packet; member
147 static int cs_etm__get_magic(u8 trace_chan_id, u64 *magic) in cs_etm__get_magic() argument
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dlogips2pp.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1999-2003 Vojtech Pavlik <vojtech@suse.cz>
38 * Process a PS2++ or PS2T++ packet.
43 struct input_dev *dev = psmouse->dev; in ps2pp_process_byte()
44 u8 *packet = psmouse->packet; in ps2pp_process_byte() local
46 if (psmouse->pktcnt < 3) in ps2pp_process_byte()
50 * Full packet accumulated, process it in ps2pp_process_byte()
53 if ((packet[0] & 0x48) == 0x48 && (packet[1] & 0x02) == 0x02) { in ps2pp_process_byte()
55 /* Logitech extended packet */ in ps2pp_process_byte()
56 switch ((packet[1] >> 4) | (packet[0] & 0x30)) { in ps2pp_process_byte()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsbe_ffdc_handler.hpp21 * @brief FFDC Package structure and definitions based on SBE chip-op spec.
23 * SBE FFDC Starts with a header word (Word 0) that has an unique magic
26 * command-class and command fields.
29 * contents of subsequent FFDC Data Words (0-N).
36 * -------------------P10 proc-----------------------
38 * |----------------------------------------------------------|
39 * | Word 0 | Magic Bytes : 0xFFDC | Length in words (N+4) |
40 * | Word 1 | [Sequence ID] | Command-Class | Command |
45 * -----------------------------------------------------------
47 * --------------POZ - PowerOdysseyZEE-----------------------
[all …]
H A Dsbe_ffdc_handler.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
31 #include <phosphor-logging/lg2.hpp>
146 // Next un-extracted FFDC Packet in parse()
156 lenWords = ntohs(ffdc->lengthinWords); in parse()
157 auto fapiRc = ntohl(ffdc->fapiRc); in parse()
160 "P10 FFDC magic: {MAGIC_BYTES} length in words:{LEN_WORDS} " in parse()
167 pktLenWords = lenWords - p10FfdcSkipWords; in parse()
178 lg2::error("FFDC packet size is zero skipping"); in parse()
187 lenWords = ntohs(ffdc->lengthinWords); in parse()
188 auto fapiRc = ntohl(ffdc->fapiRc); in parse()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dfsl-tsec-phy.txt5 the definition of the PHY node in booting-without-of.txt for an example
9 - reg : Offset and length of the register set for the device, and optionally
14 - compatible : Should define the compatible device type for the
16 - "fsl,gianfar-tbi"
17 - "fsl,gianfar-mdio"
18 - "fsl,etsec2-tbi"
19 - "fsl,etsec2-mdio"
20 - "fsl,ucc-mdio"
21 - "fsl,fman-mdio"
23 - "gianfar"
[all …]
H A Dcdns,macb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nicolas Ferre <nicolas.ferre@microchip.com>
11 - Claudiu Beznea <claudiu.beznea@microchip.com>
16 - items:
17 - enum:
18 - cdns,at91rm9200-emac # Atmel at91rm9200 SoC
19 - const: cdns,emac # Generic
21 - items:
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Ddev-sliced-vbi.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
17 :ref:`raw VBI interface <raw-vbi>`. The data is passed as short
51 .. _sliced-vbi-format-negotitation:
103 -----------------------------
115 .. flat-table::
116 :header-rows: 0
117 :stub-columns: 0
120 * - __u16
121 - ``service_set``
122 - :cspan:`2`
[all …]
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/
H A Dsuricata.yaml2 ---
13 # If you are using the CUDA pattern matcher (mpm-algo: ac-cuda), different rules
16 #max-pending-packets: 1024
18 # Runmode the engine should use. Please check --list-runmodes to get the available
19 # runmodes for each packet acquisition method. Defaults to "autofp" (auto flow pinned
27 # round-robin - Flows assigned to threads in a round robin fashion.
28 # active-packets - Flows assigned to threads that have the lowest number of
30 # hash - Flow alloted usihng the address hash. More of a random
33 #autofp-scheduler: active-packets
36 # it is a pure sniffing setup, set it to 'sniffer-only'.
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Broadcom GENET (Gigabit Ethernet) Wake-on-LAN support
5 * Copyright (c) 2014-2024 Broadcom
37 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet
43 struct device *kdev = &priv->pdev->dev; in bcmgenet_get_wol()
46 if (dev->phydev) { in bcmgenet_get_wol()
47 phy_ethtool_get_wol(dev->phydev, wol); in bcmgenet_get_wol()
48 phy_wolopts = wol->wolopts; in bcmgenet_get_wol()
51 /* MAC is not wake-up capable, return what the PHY does */ in bcmgenet_get_wol()
56 wol->supported |= WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol()
[all …]
/openbmc/linux/net/core/
H A Dselftests.c1 // SPDX-License-Identifier: GPL-2.0
33 struct net_packet_attrs *packet; member
43 __be64 magic; member
65 size = attr->size + NET_TEST_PKT_SIZE; in net_test_get_skb()
67 if (attr->tcp) in net_test_get_skb()
72 if (attr->max_size && attr->max_size > size) in net_test_get_skb()
73 size = attr->max_size; in net_test_get_skb()
79 prefetchw(skb->data); in net_test_get_skb()
84 skb_set_network_header(skb, skb->len); in net_test_get_skb()
87 skb_set_transport_header(skb, skb->len); in net_test_get_skb()
[all …]
/openbmc/linux/include/net/9p/
H A D9p.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 * enum p9_debug_flags - bits for mount time debug parameter
24 * @P9_DEBUG_PKT: packet marshalling/unmarshalling
25 * @P9_DEBUG_FSC: FS-cache tracing
26 * @P9_DEBUG_VPKT: Verbose packet debugging (full packet dump)
62 * enum p9_msg_t - 9P message types
112 * See Also: http://plan9.bell-labs.com/sys/man/5/INDEX.html
187 * enum p9_open_mode_t - 9P open modes
192 * @P9_OTRUNC: truncate file to zero-length before opening it
205 * See Also: http://plan9.bell-labs.com/magic/man2html/2/open
[all …]
/openbmc/google-misc/subprojects/nemora-postd/
H A DREADME.md1 ## Nemora-postd
3 Nemora-postd is a daemon running on the BMC to stream host POST codes.
15 [Linux / UNIX TCP Port Forwarder](http://www.dest-unreach.org/socat/).
19 1. On BMC, stop the existing Nemora-postd;
22 systemctl stop nemora-postd@eth0
29 DECODE_CMD="protoc --decode=platforms.nemora.proto.EventSeries event_message.proto"
30 exec socat udp-recvfrom:3960,fork exec:"$DECODE_CMD",fdout=stdout
37 nemora-postd eth0 --udp4 $IP_SERVER
43 busctl set-property xyz.openbmc_project.State.Boot.Raw /xyz/openbmc_project/state/boot/raw0 xyz.ope…
46 5. The testing server should receive the following packet in about 20 seconds.
[all …]
/openbmc/linux/net/batman-adv/
H A Ddistributed-arp-table.c1 // SPDX-License-Identifier: GPL-2.0
7 #include "distributed-arp-table.h"
43 #include "hard-interface.h"
49 #include "soft-interface.h"
50 #include "translation-table.h"
89 __be32 magic; member
93 #define BATADV_DHCP_YIADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->yiaddr)
94 #define BATADV_DHCP_CHADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->chaddr)
99 * batadv_dat_start_timer() - initialise the DAT periodic worker
104 queue_delayed_work(batadv_event_workqueue, &bat_priv->dat.work, in batadv_dat_start_timer()
[all …]
/openbmc/libmctp/docs/bindings/
H A Dvendor-ibm-astlpc.md18 …<https://www.intel.com/content/dam/www/program/design/us/en/documents/low-pin-count-interface-spec…
28 Defined by the MCTP base specification as the smallest maximum packet size all
29 MCTP-compliant endpoints must accept.
33 A hardware-defined flag bit in a KCS device's Status Register (STR). The IBF
42 ### KCS: Keyboard-Controller-Style
48 systems. This interface is available built-in to several commercially available
49 microcontrollers. Data is transferred across the KCS interface using a per-byte
66 The largest payload the link will accept for a packet. The Maximum Transmission
68 values larger than the BTU may improve throughput for data-intensive transfers.
72 A hardware-defined flag bit in a KCS device's Status Register (STR). The OBF
[all …]
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_80211_tx.c1 // SPDX-License-Identifier: GPL-2.0
13 /* Ethernet-II snap header (RFC1042 for most EtherTypes) */
16 /* Bridge-Tunnel header (for EtherTypes ETH_P_AARP and ETH_P_IPX) */
26 hdr = (struct ieee80211_hdr *) skb->data; in hostap_dump_tx_80211()
29 name, skb->len, jiffies); in hostap_dump_tx_80211()
31 if (skb->len < 2) in hostap_dump_tx_80211()
34 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_tx_80211()
41 if (skb->len < IEEE80211_DATA_HDR3_LEN) { in hostap_dump_tx_80211()
46 printk(" dur=0x%04x seq=0x%04x\n", le16_to_cpu(hdr->duration_id), in hostap_dump_tx_80211()
47 le16_to_cpu(hdr->seq_ctrl)); in hostap_dump_tx_80211()
[all …]
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_protocol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
33 P_SUPERSEDED = 0x18, /* Used in proto C, two-primaries conflict detection */
53 P_RS_CANCEL = 0x29, /* meta: Used to cancel RS_DATA_REQUEST packet by SyncSource */
74 P_ZEROES = 0x36, /* data sock: zero-out, WRITE_ZEROES */
83 P_INITIAL_META = 0xfff1, /* First Packet on the MetaSock */
84 P_INITIAL_DATA = 0xfff2, /* First Packet on the Socket */
93 /* This is the layout for a packet on the wire.
104 u32 magic; member
111 u16 magic; /* use DRBD_MAGIC_BIG here */ member
117 u32 magic; member
[all …]
/openbmc/qemu/hw/usb/
H A Dpcap.c2 * usb packet capture
7 * See the COPYING file in the top-level directory.
20 uint32_t magic_number; /* magic number */
32 uint32_t incl_len; /* number of octets of packet saved in file */
33 uint32_t orig_len; /* actual length of packet */
44 uint64_t id; /* 0: URB ID - from submission to callback */
58 unsigned char setup[8]; /* Only for Control S-type */
70 /* ------------------------------------------------------------------------ */
77 switch (p->status) { in usbmon_status()
81 return -19; /* -ENODEV */ in usbmon_status()
[all …]

12345678910>>...20