Home
last modified time | relevance | path

Searched refs:wg_device (Results 1 – 14 of 14) sorted by relevance

/drivers/net/wireguard/
Dpeer.h19 struct wg_device;
38 struct wg_device *device;
69 struct wg_peer *wg_peer_create(struct wg_device *wg,
81 void wg_peer_remove_all(struct wg_device *wg);
Ddevice.c35 struct wg_device *wg = netdev_priv(dev); in wg_open()
66 struct wg_device *wg; in wg_pm_notification()
99 struct wg_device *wg; in wg_vm_notification()
117 struct wg_device *wg = netdev_priv(dev); in wg_stop()
139 struct wg_device *wg = netdev_priv(dev); in wg_xmit()
245 struct wg_device *wg = netdev_priv(dev); in wg_destruct()
278 struct wg_device *wg = netdev_priv(dev); in wg_setup()
314 struct wg_device *wg = netdev_priv(dev); in wg_newlink()
411 .priv_size = sizeof(struct wg_device),
418 struct wg_device *wg; in wg_netns_pre_exit()
Dsocket.h14 int wg_socket_init(struct wg_device *wg, u16 port);
15 void wg_socket_reinit(struct wg_device *wg, struct sock *new4,
21 int wg_socket_send_buffer_as_reply_to_skb(struct wg_device *wg,
Dcookie.h20 struct wg_device *device;
42 struct wg_device *wg);
57 struct wg_device *wg);
Dnoise.h92 struct wg_device;
124 struct wg_device *wg);
130 struct wg_device *wg);
Ddevice.h21 struct wg_device;
40 struct wg_device { struct
Dsocket.c20 static int send4(struct wg_device *wg, struct sk_buff *skb, in send4()
97 static int send6(struct wg_device *wg, struct sk_buff *skb, in send6()
203 int wg_socket_send_buffer_as_reply_to_skb(struct wg_device *wg, in wg_socket_send_buffer_as_reply_to_skb()
318 struct wg_device *wg; in wg_receive()
349 int wg_socket_init(struct wg_device *wg, u16 port) in wg_socket_init()
419 void wg_socket_reinit(struct wg_device *wg, struct sock *new4, in wg_socket_reinit()
Dqueueing.h16 struct wg_device;
31 void wg_packet_receive(struct wg_device *wg, struct sk_buff *skb);
42 void wg_packet_send_handshake_cookie(struct wg_device *wg,
Dnetlink.c52 static struct wg_device *lookup_interface(struct nlattr **attrs, in lookup_interface()
97 struct wg_device *wg;
201 struct wg_device *wg; in wg_get_device_start()
214 struct wg_device *wg = ctx->wg; in wg_get_device_dump()
314 static int set_port(struct wg_device *wg, u16 port) in set_port()
357 static int set_peer(struct wg_device *wg, struct nlattr **attrs) in set_peer()
495 struct wg_device *wg = lookup_interface(info->attrs, skb); in wg_set_device()
Dreceive.c47 static int prepare_skb_header(struct sk_buff *skb, struct wg_device *wg) in prepare_skb_header()
92 static void wg_receive_handshake_packet(struct wg_device *wg, in wg_receive_handshake_packet()
209 struct wg_device *wg = container_of(queue, struct wg_device, handshake_queue); in wg_packet_handshake_receive_worker()
509 static void wg_packet_consume_data(struct wg_device *wg, struct sk_buff *skb) in wg_packet_consume_data()
542 void wg_packet_receive(struct wg_device *wg, struct sk_buff *skb) in wg_packet_receive()
Dpeer.c21 struct wg_peer *wg_peer_create(struct wg_device *wg, in wg_peer_create()
167 void wg_peer_remove_all(struct wg_device *wg) in wg_peer_remove_all()
Dcookie.c20 struct wg_device *wg) in wg_cookie_checker_init()
199 struct wg_device *wg) in wg_cookie_message_consume()
Dsend.c110 void wg_packet_send_handshake_cookie(struct wg_device *wg, in wg_packet_send_handshake_cookie()
313 struct wg_device *wg = peer->device; in wg_packet_create_data()
Dnoise.c585 struct wg_device *wg) in wg_noise_handshake_consume_initiation()
729 struct wg_device *wg) in wg_noise_handshake_consume_response()