Home
last modified time | relevance | path

Searched refs:snoop_handler (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop.c65 static struct snoop_handler *snoop_hp; /* global alarm handler head */
66 static struct snoop_handler *snoop_tp; /* global alarm handler tail */
924 volatile struct snoop_handler *sh = NULL; in snoop_alarm()
925 volatile struct snoop_handler *hp, *tp, *next; in snoop_alarm()
937 sh = malloc(sizeof (struct snoop_handler)); in snoop_alarm()
945 snoop_hp = snoop_tp = (struct snoop_handler *)sh; in snoop_alarm()
950 snoop_tp->s_next = (struct snoop_handler *)sh; in snoop_alarm()
951 snoop_tp = (struct snoop_handler *)sh; in snoop_alarm()
965 tp = (struct snoop_handler *)&snoop_hp; in snoop_alarm()
972 if (tp == (struct snoop_handler *)&snoop_hp) in snoop_alarm()
[all …]
H A Dsnoop.h371 typedef struct snoop_handler { struct
372 struct snoop_handler *s_next; /* next alarm handler */ argument