tag | line | file | source code |
tsp | 174 | drivers/isdn/teles/isdnl2.c | static int l2addrsize(struct Layer2 *tsp); |
tsp | 216 | drivers/isdn/teles/isdnl2.c | l2headersize(struct Layer2 *tsp, int UI) |
tsp | 218 | drivers/isdn/teles/isdnl2.c | return ((tsp->extended && (!UI) ? 2 : 1) + (tsp->laptype == LAPD ? 2 : 1)); |
tsp | 222 | drivers/isdn/teles/isdnl2.c | l2addrsize(struct Layer2 *tsp) |
tsp | 224 | drivers/isdn/teles/isdnl2.c | return (tsp->laptype == LAPD ? 2 : 1); |
tsp | 228 | drivers/isdn/teles/isdnl2.c | sethdraddr(struct Layer2 *tsp, |
tsp | 234 | drivers/isdn/teles/isdnl2.c | if (tsp->laptype == LAPD) { |
tsp | 236 | drivers/isdn/teles/isdnl2.c | if (!tsp->orig) |
tsp | 238 | drivers/isdn/teles/isdnl2.c | *ptr++ = (tsp->sap << 2) | (crbit ? 2 : 0); |
tsp | 239 | drivers/isdn/teles/isdnl2.c | *ptr++ = (tsp->tei << 1) | 1; |
tsp | 243 | drivers/isdn/teles/isdnl2.c | if (tsp->orig) |