Home
last modified time | relevance | path

Searched refs:slip (Results 1 – 23 of 23) sorted by relevance

/linux-4.4.14/arch/um/drivers/
Dslip_common.c5 int slip_proto_read(int fd, void *buf, int len, struct slip_proto *slip) in slip_proto_read() argument
9 if(slip->more > 0){ in slip_proto_read()
11 while(i < slip->more){ in slip_proto_read()
12 size = slip_unesc(slip->ibuf[i++], slip->ibuf, in slip_proto_read()
13 &slip->pos, &slip->esc); in slip_proto_read()
15 memcpy(buf, slip->ibuf, size); in slip_proto_read()
16 memmove(slip->ibuf, &slip->ibuf[i], in slip_proto_read()
17 slip->more - i); in slip_proto_read()
18 slip->more = slip->more - i; in slip_proto_read()
22 slip->more = 0; in slip_proto_read()
[all …]
Dslip_common.h91 static inline void slip_proto_init(struct slip_proto * slip) in slip_proto_init() argument
93 memset(slip->ibuf, 0, sizeof(slip->ibuf)); in slip_proto_init()
94 memset(slip->obuf, 0, sizeof(slip->obuf)); in slip_proto_init()
95 slip->more = 0; in slip_proto_init()
96 slip->pos = 0; in slip_proto_init()
97 slip->esc = 0; in slip_proto_init()
101 struct slip_proto *slip);
103 struct slip_proto *slip);
Dslirp_user.c66 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()
Dslip_user.c152 pri->slip.pos = 0; in slip_open()
153 pri->slip.esc = 0; in slip_open()
214 return slip_proto_read(fd, buf, len, &pri->slip); in slip_user_read()
219 return slip_proto_write(fd, buf, len, &pri->slip); in slip_user_write()
DMakefile9 slip-objs := slip_kern.o slip_user.o
43 obj-$(CONFIG_UML_NET_SLIP) += slip.o slip_common.o
Dslip.h12 struct slip_proto slip; member
Dslirp.h24 struct slip_proto slip; member
Dslip_kern.c31 slip_proto_init(&spri->slip); in slip_init()
Dslirp_kern.c33 slip_proto_init(&spri->slip); in slirp_init()
/linux-4.4.14/drivers/net/slip/
Dslip.c103 static void slip_unesc(struct slip *sl, unsigned char c);
106 static void slip_unesc6(struct slip *sl, unsigned char c);
129 static int sl_alloc_bufs(struct slip *sl, int mtu) in sl_alloc_bufs()
205 static void sl_free_bufs(struct slip *sl) in sl_free_bufs()
220 static int sl_realloc_bufs(struct slip *sl, int mtu)
306 static inline void sl_lock(struct slip *sl)
313 static inline void sl_unlock(struct slip *sl)
319 static void sl_bump(struct slip *sl)
375 static void sl_encaps(struct slip *sl, unsigned char *icp, int len)
423 struct slip *sl = container_of(work, struct slip, tx_work);
[all …]
DMakefile5 obj-$(CONFIG_SLIP) += slip.o
Dslip.h49 struct slip { struct
DKconfig34 will be called slip.
/linux-4.4.14/drivers/net/
DMakefile54 obj-$(CONFIG_SLIP) += slip/
55 obj-$(CONFIG_SLHC) += slip/
DKconfig358 source "drivers/net/slip/Kconfig"
/linux-4.4.14/arch/um/
DKconfig.net67 The slip User-Mode Linux network transport allows a running UML to
70 the slip transport can only carry IP packets.
72 To use this, your host must support slip devices.
76 has examples of the UML command line to use to enable slip
79 The Ethertap Transport is preferred over slip because of its
80 limitations. If you prefer slip, however, say Y here. Otherwise
/linux-4.4.14/Documentation/devicetree/bindings/iio/frequency/
Dadf4350.txt41 - adi,cycle-slip-reduction-enable: Enables cycle slip reduction.
/linux-4.4.14/Documentation/zh_CN/
Dmagic-number.txt78 SLIP_MAGIC 0x5302 slip drivers/net/slip.h
/linux-4.4.14/Documentation/networking/
Deql.txt181 3.3.1. /etc/slip/runslip.conf
204 ducmd -e /etc/slip/dialout/cua2-288.xp -t 9
213 ducmd -e /etc/slip/dialout/cua3-288.xp -t 9
Dz8530drv.txt279 slip off
/linux-4.4.14/Documentation/
Dmagic-number.txt78 SLIP_MAGIC 0x5302 slip drivers/net/slip.h
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt869 o slip
875 The TUN/TAP, ethertap, slip, and slirp transports allow a UML
911 o slip - there is no particular reason to run the slip backend unless
1665 ethn=slip,slip IP
1670 The slip IP argument is the IP address that will be assigned to the
1671 host end of the slip device. If it is specified, the helper will run
1677 of. You should only specify one slip device on a given virtual
1783 slip device, UML won't do any setup on the host. So this is what is
4373 submitted patches for the slip transport and lots of other things.
/linux-4.4.14/Documentation/development-process/
D7.AdvancedTopics112 slip in ill-advised changes which go into the mainline below the review