Searched refs:stsize (Results 1 - 6 of 6) sorted by relevance
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpc/ |
H A D | minissdpc.c | 54 unsigned int urlsize, stsize, usnsize, l; local 74 stsize = strlen(devtype); 75 if(stsize == 8 && 0 == memcmp(devtype, "ssdp:all", 8)) 84 l = stsize; CODELENGTH(l, p); 85 if(p + stsize > buffer + sizeof(buffer)) 91 memcpy(p, devtype, stsize); 92 p += stsize; 117 DECODELENGTH(stsize, p); 118 if(p+stsize+2>=buffer+sizeof(buffer)) 120 tmp = (struct UPNPDev *)malloc(sizeof(struct UPNPDev)+urlsize+stsize); [all...] |
H A D | miniupnpc.c | 278 * - st/stsize : "st:" field of the SSDP reply packet. 283 const char * * st, int * stsize) 323 *stsize = i-b; 679 int stsize=0; local 680 parseMSEARCHReply(bufr, n, &descURL, &urlsize, &st, &stsize); 684 stsize, st, urlsize, descURL); 689 memcmp(tmp->st, st, stsize) == 0 && 690 tmp->st[stsize] == '\0') 697 tmp = (struct UPNPDev *)malloc(sizeof(struct UPNPDev)+urlsize+stsize); 709 memcpy(tmp->buffer + urlsize + 1, st, stsize); 281 parseMSEARCHReply(const char * reply, int size, const char * * location, int * locationsize, const char * * st, int * stsize) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpc/ |
H A D | minissdpc.c | 54 unsigned int urlsize, stsize, usnsize, l; local 74 stsize = strlen(devtype); 75 if(stsize == 8 && 0 == memcmp(devtype, "ssdp:all", 8)) 84 l = stsize; CODELENGTH(l, p); 85 if(p + stsize > buffer + sizeof(buffer)) 91 memcpy(p, devtype, stsize); 92 p += stsize; 117 DECODELENGTH(stsize, p); 118 if(p+stsize+2>=buffer+sizeof(buffer)) 120 tmp = (struct UPNPDev *)malloc(sizeof(struct UPNPDev)+urlsize+stsize); [all...] |
H A D | miniupnpc.c | 278 * - st/stsize : "st:" field of the SSDP reply packet. 283 const char * * st, int * stsize) 323 *stsize = i-b; 679 int stsize=0; local 680 parseMSEARCHReply(bufr, n, &descURL, &urlsize, &st, &stsize); 684 stsize, st, urlsize, descURL); 689 memcmp(tmp->st, st, stsize) == 0 && 690 tmp->st[stsize] == '\0') 697 tmp = (struct UPNPDev *)malloc(sizeof(struct UPNPDev)+urlsize+stsize); 709 memcpy(tmp->buffer + urlsize + 1, st, stsize); 281 parseMSEARCHReply(const char * reply, int size, const char * * location, int * locationsize, const char * * st, int * stsize) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpc/ |
H A D | minissdpc.c | 54 unsigned int urlsize, stsize, usnsize, l; local 74 stsize = strlen(devtype); 75 if(stsize == 8 && 0 == memcmp(devtype, "ssdp:all", 8)) 84 l = stsize; CODELENGTH(l, p); 85 if(p + stsize > buffer + sizeof(buffer)) 91 memcpy(p, devtype, stsize); 92 p += stsize; 117 DECODELENGTH(stsize, p); 118 if(p+stsize+2>=buffer+sizeof(buffer)) 120 tmp = (struct UPNPDev *)malloc(sizeof(struct UPNPDev)+urlsize+stsize); [all...] |
H A D | miniupnpc.c | 278 * - st/stsize : "st:" field of the SSDP reply packet. 283 const char * * st, int * stsize) 323 *stsize = i-b; 679 int stsize=0; local 680 parseMSEARCHReply(bufr, n, &descURL, &urlsize, &st, &stsize); 684 stsize, st, urlsize, descURL); 689 memcmp(tmp->st, st, stsize) == 0 && 690 tmp->st[stsize] == '\0') 697 tmp = (struct UPNPDev *)malloc(sizeof(struct UPNPDev)+urlsize+stsize); 709 memcpy(tmp->buffer + urlsize + 1, st, stsize); 281 parseMSEARCHReply(const char * reply, int size, const char * * location, int * locationsize, const char * * st, int * stsize) argument [all...] |
Completed in 83 milliseconds