taglinefilesource code
ppp_ldisc198drivers/net/ppp.cstruct tty_ldisc ppp_ldisc;
ppp_ldisc237drivers/net/ppp.c(void) memset(&ppp_ldisc, 0, sizeof(ppp_ldisc));
ppp_ldisc238drivers/net/ppp.cppp_ldisc.open    = ppp_open;
ppp_ldisc239drivers/net/ppp.cppp_ldisc.close   = ppp_close;
ppp_ldisc240drivers/net/ppp.cppp_ldisc.read    = ppp_read;
ppp_ldisc241drivers/net/ppp.cppp_ldisc.write   = ppp_write;
ppp_ldisc242drivers/net/ppp.cppp_ldisc.ioctl   = ppp_ioctl;
ppp_ldisc243drivers/net/ppp.cppp_ldisc.select  = ppp_select;
ppp_ldisc246drivers/net/ppp.cppp_ldisc.magic       = TTY_LDISC_MAGIC;
ppp_ldisc247drivers/net/ppp.cppp_ldisc.receive_room = ppp_receive_room;
ppp_ldisc248drivers/net/ppp.cppp_ldisc.receive_buf = ppp_receive_buf;
ppp_ldisc249drivers/net/ppp.cppp_ldisc.write_wakeup = ppp_write_wakeup;
ppp_ldisc251drivers/net/ppp.cppp_ldisc.handler     = ppp_tty_input_ready;
ppp_ldisc254drivers/net/ppp.cif ((i = tty_register_ldisc(N_PPP, &ppp_ldisc)) == 0)