Home
last modified time | relevance | path

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

/linux-6.12.1/arch/um/drivers/
Dslip_common.c6 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 …]
Dslip_common.h92 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);
Dslirp_user.c65 pri->slip.pos = 0; in slirp_open()
66 pri->slip.esc = 0; in slirp_open()
107 return slip_proto_read(fd, buf, len, &pri->slip); in slirp_user_read()
112 return slip_proto_write(fd, buf, len, &pri->slip); in slirp_user_write()
Dslip_user.c153 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()
DMakefile9 slip-objs := slip_kern.o slip_user.o
41 obj-$(CONFIG_UML_NET_SLIP) += slip.o slip_common.o
Dslip.h13 struct slip_proto slip; member
Dslirp.h25 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()
DKconfig193 The slip User-Mode Linux network transport allows a running UML to
196 the slip transport can only carry IP packets.
198 To use this, your host must support slip devices.
202 has examples of the UML command line to use to enable slip
/linux-6.12.1/drivers/net/slip/
Dslip.c104 static void slip_unesc(struct slip *sl, unsigned char c);
107 static void slip_unesc6(struct slip *sl, unsigned char c);
130 static int sl_alloc_bufs(struct slip *sl, int mtu) in sl_alloc_bufs()
206 static void sl_free_bufs(struct slip *sl) in sl_free_bufs()
221 static int sl_realloc_bufs(struct slip *sl, int mtu)
307 static inline void sl_lock(struct slip *sl)
314 static inline void sl_unlock(struct slip *sl)
320 static void sl_bump(struct slip *sl)
376 static void sl_encaps(struct slip *sl, unsigned char *icp, int len)
424 struct slip *sl = container_of(work, struct slip, tx_work);
[all …]
DMakefile6 obj-$(CONFIG_SLIP) += slip.o
Dslip.h52 struct slip { struct
DKconfig35 will be called slip.
/linux-6.12.1/Documentation/translations/zh_CN/process/
Dmagic-number.rst72 SLIP_MAGIC 0x5302 slip ``drivers/net/slip.h``
/linux-6.12.1/Documentation/translations/zh_TW/process/
Dmagic-number.rst66 SLIP_MAGIC 0x5302 slip ``drivers/net/slip.h``
/linux-6.12.1/drivers/net/
DMakefile70 obj-$(CONFIG_SLIP) += slip/
71 obj-$(CONFIG_SLHC) += slip/
DKconfig561 source "drivers/net/slip/Kconfig"
/linux-6.12.1/Documentation/staging/
Dmagic-number.rst74 SLIP_MAGIC 0x5302 slip ``drivers/net/slip.h``
/linux-6.12.1/Documentation/translations/it_IT/process/
Dmagic-number.rst80 SLIP_MAGIC 0x5302 slip ``drivers/net/slip.h``
/linux-6.12.1/Documentation/translations/sp_SP/process/
Dmagic-number.rst79 SLIP_MAGIC 0x5302 slip ``drivers/net/slip.h``
/linux-6.12.1/Documentation/networking/
Deql.rst158 3.3.1. /etc/slip/runslip.conf
167 ducmd -e /etc/slip/dialout/cua2-288.xp -t 9
176 ducmd -e /etc/slip/dialout/cua3-288.xp -t 9
/linux-6.12.1/scripts/
DKbuild.include191 # no more breakage will slip in.
/linux-6.12.1/Documentation/process/
D7.AdvancedTopics.rst116 slip in ill-advised changes which go into the mainline below the review
/linux-6.12.1/Documentation/networking/device_drivers/hamradio/
Dz8530drv.rst296 slip off