/linux-master/net/handshake/ |
H A D | Makefile | 10 obj-y += handshake.o 11 handshake-y := alert.o genl.o netlink.o request.o tlshd.o trace.o 13 obj-$(CONFIG_NET_HANDSHAKE_KUNIT_TEST) += handshake-test.o
|
H A D | genl.h | 3 /* Documentation/netlink/specs/handshake.yaml */ 12 #include <uapi/linux/handshake.h>
|
H A D | trace.c | 18 #include "handshake.h" 22 #include <trace/events/handshake.h>
|
H A D | genl.c | 3 /* Documentation/netlink/specs/handshake.yaml */ 11 #include <uapi/linux/handshake.h> 25 /* Ops table for handshake */
|
H A D | alert.c | 18 #include <net/handshake.h> 22 #include "handshake.h" 24 #include <trace/events/handshake.h>
|
H A D | request.c | 25 #include <uapi/linux/handshake.h> 26 #include "handshake.h" 28 #include <trace/events/handshake.h> 34 * To avoid adding another pointer field to struct sock, net/handshake 103 * handshake_req_alloc - Allocate a handshake request 134 * handshake_req_private - Get per-handshake private data 135 * @req: handshake arguments 201 * handshake_req_submit - Submit a handshake request 202 * @sock: open socket on which to perform the handshake 203 * @req: handshake argument [all...] |
H A D | netlink.c | 3 * Generic netlink handshake service 23 #include <uapi/linux/handshake.h> 24 #include "handshake.h" 27 #include <trace/events/handshake.h> 32 * @proto: handshake protocol 232 * handshake_pernet - Get the handshake private per-net structure 236 * handshake module, or NULL if handshake_init() failed. 251 pr_warn("handshake: hash initialization failed (%d)\n", ret); 257 pr_warn("handshake: netlink registration failed (%d)\n", ret); 267 * shunts the handshake consume [all...] |
H A D | tlshd.c | 19 #include <net/handshake.h> 24 #include <uapi/linux/handshake.h> 25 #include "handshake.h" 90 * @req: socket on which the handshake was performed 190 * @req: handshake parameters to return 271 * tls_client_hello_anon - request an anonymous TLS handshake on a socket 272 * @args: socket and handshake parameters for this request 297 * tls_client_hello_x509 - request an x.509-based TLS handshake on a socket 298 * @args: socket and handshake parameters for this request 325 * tls_client_hello_psk - request a PSK-based TLS handshake o [all...] |
/linux-master/drivers/net/wireguard/ |
H A D | noise.c | 46 /* Must hold peer->handshake.static_identity->lock */ 49 down_write(&peer->handshake.lock); 50 if (!peer->handshake.static_identity->has_identity || 51 !curve25519(peer->handshake.precomputed_static_static, 52 peer->handshake.static_identity->static_private, 53 peer->handshake.remote_static)) 54 memset(peer->handshake.precomputed_static_static, 0, 56 up_write(&peer->handshake.lock); 59 void wg_noise_handshake_init(struct noise_handshake *handshake, argument 65 memset(handshake, 78 handshake_zero(struct noise_handshake *handshake) argument 88 wg_noise_handshake_clear(struct noise_handshake *handshake) argument 517 wg_noise_handshake_create_initiation(struct message_handshake_initiation *dst, struct noise_handshake *handshake) argument 588 struct noise_handshake *handshake; local 667 wg_noise_handshake_create_response(struct message_handshake_response *dst, struct noise_handshake *handshake) argument 733 struct noise_handshake *handshake; local 816 wg_noise_handshake_begin_session(struct noise_handshake *handshake, struct noise_keypairs *keypairs) argument [all...] |
H A D | noise.h | 95 void wg_noise_handshake_init(struct noise_handshake *handshake, 100 void wg_noise_handshake_clear(struct noise_handshake *handshake); 121 struct noise_handshake *handshake); 127 struct noise_handshake *handshake); 132 bool wg_noise_handshake_begin_session(struct noise_handshake *handshake,
|
H A D | peer.h | 47 struct noise_handshake handshake; member in struct:wg_peer
|
H A D | netlink.c | 116 down_read(&peer->handshake.lock); 118 peer->handshake.remote_static); 119 up_read(&peer->handshake.lock); 129 down_read(&peer->handshake.lock); 132 peer->handshake.preshared_key); 133 up_read(&peer->handshake.lock); 430 down_write(&peer->handshake.lock); 431 memcpy(&peer->handshake.preshared_key, preshared_key, 433 up_write(&peer->handshake.lock);
|
H A D | peerlookup.c | 40 pubkey_bucket(table, peer->handshake.remote_static)); 62 if (!memcmp(pubkey, iter_peer->handshake.remote_static,
|
H A D | peer.c | 40 wg_noise_handshake_init(&peer->handshake, &wg->static_identity, 135 * where it has processed an incoming handshake packet, but where 142 * hash table, which allows for a maximum of one handshake response, 193 /* The final zeroing takes care of clearing any remaining handshake key 212 &peer->handshake.entry);
|
H A D | send.c | 30 net_dbg_ratelimited("%s: Sending handshake initiation to peer %llu (%pISpfsc)\n", 34 if (wg_noise_handshake_create_initiation(&packet, &peer->handshake)) { 90 net_dbg_ratelimited("%s: Sending handshake response to peer %llu (%pISpfsc)\n", 94 if (wg_noise_handshake_create_response(&packet, &peer->handshake)) { 96 if (wg_noise_handshake_begin_session(&peer->handshake, 116 net_dbg_skb_ratelimited("%s: Sending cookie response for denied handshake message for %pISpfsc\n", 372 * handshake. 396 /* We orphan the packets if we're waiting on a handshake, so that they 411 * means we should initiate a new handshake.
|
/linux-master/arch/powerpc/kernel/ |
H A D | smp-tbsync.c | 28 volatile int handshake; member in struct:__anon778 58 while (!tbsync->handshake) 69 while (tbsync->handshake) 94 tbsync->handshake = 1; 100 tbsync->handshake = 0; 164 tbsync->handshake = 1; 167 tbsync->handshake = 0;
|
/linux-master/tools/net/ynl/ |
H A D | Makefile.deps | 20 CFLAGS_handshake:=$(call get_hdr_inc,_LINUX_HANDSHAKE_H,handshake.h)
|
/linux-master/drivers/char/ |
H A D | dsp56k.c | 60 #define handshake(count, maxio, timeout, ENABLE, f) \ macro 203 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, 213 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, 220 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, 232 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, 265 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, 275 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, 282 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, 294 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
|
/linux-master/drivers/input/mouse/ |
H A D | pc110pad.c | 43 int handshake = inb_p(pc110pad_io + 2); local 45 outb(handshake | 1, pc110pad_io + 2); 47 outb(handshake & ~1, pc110pad_io + 2);
|
/linux-master/drivers/dma/dw-edma/ |
H A D | dw-hdma-v0-regs.h | 31 u32 handshake; /* 0x000c */ member in struct:dw_hdma_v0_ch_regs
|
/linux-master/drivers/tty/hvc/ |
H A D | hvsi.c | 389 struct hvsi_struct **handshake) 395 *handshake = NULL; 431 hvsi_recv_control(hp, packet, tty, handshake); 448 if (*handshake) { 449 pr_debug("%s: handshake\n", __func__); 478 struct hvsi_struct *handshake; local 489 again = hvsi_load_chunk(hp, tty, &handshake); 492 if (handshake) { 493 pr_debug("hvsi%i: attempting re-handshake\n", handshake 388 hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct *tty, struct hvsi_struct **handshake) argument [all...] |
/linux-master/net/ |
H A D | Makefile | 81 obj-$(CONFIG_NET_HANDSHAKE) += handshake/
|
/linux-master/arch/arm/common/ |
H A D | bL_switcher.c | 65 long volatile handshake, **handshake_ptr = _arg; local 73 /* Advertise our handshake location */ 75 handshake = 0; 76 *handshake_ptr = &handshake; 78 handshake = -1; 101 while (!handshake) {
|
/linux-master/drivers/usb/early/ |
H A D | xhci-dbc.c | 134 static int handshake(void __iomem *ptr, u32 mask, u32 done, int wait, int delay) function 161 timeout = handshake(xdbc.xhci_base + offset, XHCI_HC_BIOS_OWNED, 0, 5000, 10); 425 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, CTRL_DBC_ENABLE, 100000, 100); 436 ret = handshake(&xdbc.xdbc_reg->portsc, PORTSC_CONN_STATUS, PORTSC_CONN_STATUS, 5000000, 100); 443 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_RUN, CTRL_DBC_RUN, 5000000, 100); 530 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 10); 558 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 100);
|
/linux-master/Documentation/networking/ |
H A D | mac80211-auth-assoc-deauth.txt | 77 do 4-way-handshake
|