linux/net/x25/x25_timer.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *	X.25 Packet Layer release 002
 *
 *	This is ALPHA test software. This code may break your machine,
 *	randomly fail to work with new releases, misbehave and/or generally
 *	screw up. It might even work.
 *
 *	This code REQUIRES 2.1.15 or higher
 *
 *	History
 *	X.25 001	Jonathan Naylor	Started coding.
 *	X.25 002	Jonathan Naylor	New timer architecture.
 *					Centralised disconnection processing.
 */

#include <linux/errno.h>
#include <linux/jiffies.h>
#include <linux/timer.h>
#include <net/sock.h>
#include <net/tcp_states.h>
#include <net/x25.h>

static void x25_heartbeat_expiry(struct timer_list *t);
static void x25_timer_expiry(struct timer_list *t);

void x25_init_timers(struct sock *sk)
{}

void x25_start_heartbeat(struct sock *sk)
{}

void x25_stop_heartbeat(struct sock *sk)
{}

void x25_start_t2timer(struct sock *sk)
{}

void x25_start_t21timer(struct sock *sk)
{}

void x25_start_t22timer(struct sock *sk)
{}

void x25_start_t23timer(struct sock *sk)
{}

void x25_stop_timer(struct sock *sk)
{}

unsigned long x25_display_timer(struct sock *sk)
{}

static void x25_heartbeat_expiry(struct timer_list *t)
{}

/*
 *	Timer has expired, it may have been T2, T21, T22, or T23. We can tell
 *	by the state machine state.
 */
static inline void x25_do_timer_expiry(struct sock * sk)
{}

static void x25_timer_expiry(struct timer_list *t)
{}