Searched refs:slip (Results 1 – 10 of 10) sorted by relevance
/arch/um/drivers/ |
D | slip_common.c | 6 int slip_proto_read(int fd, void *buf, int len, struct slip_proto *slip) in slip_proto_read() argument 10 if(slip->more > 0){ in slip_proto_read() 12 while(i < slip->more){ in slip_proto_read() 13 size = slip_unesc(slip->ibuf[i++], slip->ibuf, in slip_proto_read() 14 &slip->pos, &slip->esc); in slip_proto_read() 16 memcpy(buf, slip->ibuf, size); in slip_proto_read() 17 memmove(slip->ibuf, &slip->ibuf[i], in slip_proto_read() 18 slip->more - i); in slip_proto_read() 19 slip->more = slip->more - i; in slip_proto_read() 23 slip->more = 0; in slip_proto_read() [all …]
|
D | slip_common.h | 92 static inline void slip_proto_init(struct slip_proto * slip) in slip_proto_init() argument 94 memset(slip->ibuf, 0, sizeof(slip->ibuf)); in slip_proto_init() 95 memset(slip->obuf, 0, sizeof(slip->obuf)); in slip_proto_init() 96 slip->more = 0; in slip_proto_init() 97 slip->pos = 0; in slip_proto_init() 98 slip->esc = 0; in slip_proto_init() 102 struct slip_proto *slip); 104 struct slip_proto *slip);
|
D | slirp_user.c | 66 pri->slip.pos = 0; in slirp_open() 67 pri->slip.esc = 0; in slirp_open() 108 return slip_proto_read(fd, buf, len, &pri->slip); in slirp_user_read() 113 return slip_proto_write(fd, buf, len, &pri->slip); in slirp_user_write()
|
D | slip_user.c | 153 pri->slip.pos = 0; in slip_open() 154 pri->slip.esc = 0; in slip_open() 215 return slip_proto_read(fd, buf, len, &pri->slip); in slip_user_read() 220 return slip_proto_write(fd, buf, len, &pri->slip); in slip_user_write()
|
D | slip.h | 13 struct slip_proto slip; member
|
D | slirp.h | 25 struct slip_proto slip; member
|
D | Makefile | 9 slip-objs := slip_kern.o slip_user.o 44 obj-$(CONFIG_UML_NET_SLIP) += slip.o slip_common.o
|
D | slip_kern.c | 31 slip_proto_init(&spri->slip); in slip_init()
|
D | slirp_kern.c | 33 slip_proto_init(&spri->slip); in slirp_init()
|
D | Kconfig | 182 The slip User-Mode Linux network transport allows a running UML to 185 the slip transport can only carry IP packets. 187 To use this, your host must support slip devices. 191 has examples of the UML command line to use to enable slip 194 The Ethertap Transport is preferred over slip because of its 195 limitations. If you prefer slip, however, say Y here. Otherwise
|