public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
5490144494683f303d48aa2c8f648fdc4ffeb132 blob 606 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright (c) 2021 Red Hat GmbH
 * Author: Stefano Brivio <sbrivio@redhat.com>
 */

#ifndef ARP_H
#define ARP_H

/**
 * struct arpmsg - 802.2 ARP IPv4 payload
 * @sha:	Sender hardware address
 * @sip:	Sender IP address
 * @tha:	Target hardware address
 * @tip:	Target IP address
 */
struct arpmsg {
	unsigned char sha[ETH_ALEN];
	unsigned char sip[4];
	unsigned char tha[ETH_ALEN];
	unsigned char tip[4];
} __attribute__((__packed__));

int arp(const struct ctx *c, struct iov_tail *data);
void send_initial_arp_req(const struct ctx *c);

#endif /* ARP_H */
debug log:

solving 5490144 ...
found 5490144 in https://archives.passt.top/passt-dev/20250906002246.294473-1-v@njh.eu/ ||
	https://archives.passt.top/passt-dev/20250907104912.17917-1-v@njh.eu/ ||
	https://archives.passt.top/passt-dev/20250907110108.18730-1-v@njh.eu/
found 86bcbf8 in https://passt.top/passt
preparing index
index prepared:
100644 86bcbf878eda0234698203e0f2ce92d731659b08	arp.h

applying [1/3] https://archives.passt.top/passt-dev/20250906002246.294473-1-v@njh.eu/
diff --git a/arp.h b/arp.h
index 86bcbf8..5490144 100644

Checking patch arp.h...
Applied patch arp.h cleanly.

skipping https://archives.passt.top/passt-dev/20250907104912.17917-1-v@njh.eu/ for 5490144
skipping https://archives.passt.top/passt-dev/20250907110108.18730-1-v@njh.eu/ for 5490144
index at:
100644 5490144494683f303d48aa2c8f648fdc4ffeb132	arp.h

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).