| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | mppe.c | 196 u8_t *pl; in mppe_compress() local 221 pl = (u8_t*)np->payload; in mppe_compress() 226 pl[0] = state->ccount>>8; in mppe_compress() 227 pl[1] = state->ccount; in mppe_compress() 239 pl[0] |= state->bits; in mppe_compress() 241 pl += MPPE_OVHD; in mppe_compress() 245 pl[0] = protocol >> 8; in mppe_compress() 246 pl[1] = protocol; in mppe_compress() 282 u8_t *pl; in mppe_decompress() local 295 pl = (u8_t*)n0->payload; in mppe_decompress() [all …]
|
| A D | ppp.c | 847 u8_t *pl; in ppp_input() local 868 pl = (u8_t*)pb->payload; in ppp_input() 869 if (pl[0] & 0x01) { in ppp_input() 870 protocol = pl[0]; in ppp_input() 873 protocol = (pl[0] << 8) | pl[1]; in ppp_input()
|
| A D | pppol2tp.c | 207 u8_t *pl; in pppol2tp_netif_output() local 226 pl = (u8_t*)pb->payload; in pppol2tp_netif_output() 227 PUTSHORT(protocol, pl); in pppol2tp_netif_output()
|
| A D | pppoe.c | 248 u8_t *pl; in pppoe_netif_output() local 267 pl = (u8_t*)pb->payload; in pppoe_netif_output() 268 PUTSHORT(protocol, pl); in pppoe_netif_output()
|
| A D | eap.c | 1201 size_t pl; in name_of_pn_file() local 1210 pl = strlen(user) + strlen(file) + 2; in name_of_pn_file() 1211 path = malloc(pl); in name_of_pn_file() 1214 (void) slprintf(path, pl, "%s/%s", user, file); in name_of_pn_file()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | mppe.c | 196 u8_t *pl; in mppe_compress() local 221 pl = (u8_t*)np->payload; in mppe_compress() 226 pl[0] = state->ccount>>8; in mppe_compress() 227 pl[1] = state->ccount; in mppe_compress() 239 pl[0] |= state->bits; in mppe_compress() 241 pl += MPPE_OVHD; in mppe_compress() 245 pl[0] = protocol >> 8; in mppe_compress() 246 pl[1] = protocol; in mppe_compress() 282 u8_t *pl; in mppe_decompress() local 295 pl = (u8_t*)n0->payload; in mppe_decompress() [all …]
|
| A D | ppp.c | 839 u8_t *pl; in ppp_input() local 860 pl = (u8_t*)pb->payload; in ppp_input() 861 if (pl[0] & 0x01) { in ppp_input() 862 protocol = pl[0]; in ppp_input() 865 protocol = (pl[0] << 8) | pl[1]; in ppp_input() 977 u8_t *pl; in ppp_singlebuf() local 990 for(b = p, pl = (u8_t*)q->payload; b != NULL; b = b->next) { in ppp_singlebuf() 991 MEMCPY(pl, b->payload, b->len); in ppp_singlebuf() 992 pl += b->len; in ppp_singlebuf()
|
| A D | pppol2tp.c | 207 u8_t *pl; in pppol2tp_netif_output() local 226 pl = (u8_t*)pb->payload; in pppol2tp_netif_output() 227 PUTSHORT(protocol, pl); in pppol2tp_netif_output()
|
| A D | pppoe.c | 247 u8_t *pl; in pppoe_netif_output() local 266 pl = (u8_t*)pb->payload; in pppoe_netif_output() 267 PUTSHORT(protocol, pl); in pppoe_netif_output()
|
| A D | eap.c | 1201 size_t pl; in name_of_pn_file() local 1210 pl = strlen(user) + strlen(file) + 2; in name_of_pn_file() 1211 path = malloc(pl); in name_of_pn_file() 1214 (void) slprintf(path, pl, "%s/%s", user, file); in name_of_pn_file()
|
| /components/net/lwip/lwip-1.4.1/src/core/ipv4/ |
| A D | inet_chksum.c | 195 u32_t *pl; in lwip_standard_chksum() local 212 pl = (u32_t *)ps; in lwip_standard_chksum() 215 tmp = sum + *pl++; /* ping */ in lwip_standard_chksum() 220 sum = tmp + *pl++; /* pong */ in lwip_standard_chksum() 231 ps = (u16_t *)pl; in lwip_standard_chksum()
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | inet_chksum.c | 194 const u32_t *pl; in lwip_standard_chksum() local 211 pl = (const u32_t *)(const void*)ps; in lwip_standard_chksum() 214 tmp = sum + *pl++; /* ping */ in lwip_standard_chksum() 219 sum = tmp + *pl++; /* pong */ in lwip_standard_chksum() 230 ps = (const u16_t *)pl; in lwip_standard_chksum()
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | inet_chksum.c | 194 const u32_t *pl; in lwip_standard_chksum() local 211 pl = (const u32_t *)(const void *)ps; in lwip_standard_chksum() 214 tmp = sum + *pl++; /* ping */ in lwip_standard_chksum() 219 sum = tmp + *pl++; /* pong */ in lwip_standard_chksum() 230 ps = (const u16_t *)pl; in lwip_standard_chksum()
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | ppp.c | 1570 u_char *pl; in pppSingleBuf() local 1583 for(b = p, pl = q->payload; b != NULL; b = b->next) { in pppSingleBuf() 1584 MEMCPY(pl, b->payload, b->len); in pppSingleBuf() 1585 pl += b->len; in pppSingleBuf()
|