Searched refs:qname (Results 1 - 7 of 7) sorted by relevance

/seL4-camkes-master/tools/cogent/impl/fs/vfat/cogent/lib/
H A Dwraphead.h18 extern int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir,
33 extern int vfat_find(struct inode *dir, struct qstr *qname,
/seL4-camkes-master/projects/picotcp/modules/
H A Dpico_dns_common.c223 * @param qname DNS name in DNS name format to convert
227 pico_dns_qname_to_url( const char *qname )
233 uint16_t namelen = pico_dns_strlen(qname);
235 /* Check if qname is not a NULL-pointer and if the length is OK */
247 /* Convert qname to an URL */
248 memcpy(temp, qname, namelen);
266 char *qname = NULL; local
275 /* Provide space for the qname */
276 if (!(qname = PICO_ZALLOC(namelen))) {
282 memcpy(qname
558 pico_dns_question_fill_name( char **qname, const char *url, uint16_t qtype, uint8_t proto, uint8_t reverse ) argument
[all...]
H A Dpico_dns_common.h107 char *qname; member in struct:pico_dns_question
163 * @param qname DNS name in DNS name format to convert
167 pico_dns_qname_to_url( const char *qname );
H A Dpico_mdns.c1196 if ((question) && (strcasecmp(question->qname, rname) == 0)) {
1198 new_name = pico_mdns_resolve_name_conflict(question->qname);
1973 mdns_dbg("Question RCVD for '%s'\n", question->qname);
1976 if ((cookie = pico_mdns_ctree_find_cookie(question->qname,
1983 antree = pico_mdns_populate_antree(question->qname, qtype, qclass);
1986 PICO_FREE(question->qname);
1987 question->qname = qname_original;
2136 /* Set qname of the question to the correct location */
2137 question.qname = (char *)(*ptr);
2141 (question.qname
[all...]
/seL4-camkes-master/projects/picotcp/test/unit/
H A Dmodunit_pico_dns_common.c158 fail_if(!a || !(a->qname) || !(a->qsuffix), "Could not create question A!\n");
161 fail_if(!b || !(b->qname) || !(b->qsuffix), "Coud not create question B!\n");
176 fail_if(!c || !(c->qname) || !(c->qsuffix), "Coud not create question B!\n");
699 fail_unless(strcmp(a->qname, buf) == 0, "url not converted correctly!\n");
709 fail_unless(strcmp(a->qname, buf2) == 0, "url2 not converted correctly! %s\n", a->qname);
719 fail_unless(strcmp(a->qname, buf3) == 0, "url3 not converted correctly!\n");
1070 char *qname = NULL; local
1097 qname = pico_dns_url_to_reverse_qname(url_ipv4, PICO_PROTO_IPV4);
1098 fail_unless(qname !
1100 "dns_url_to_reverse_qname failed with IPv4 %s!\\n", qname); local
1114 char qname[24] = { local
1176 char *qname = NULL; local
1184 "dns_url_to_qname failed %s!\\n", qname); local
1191 "dns_url_to_qname failed %s!\\n", qname); local
[all...]
H A Dmodunit_pico_mdns.c811 fail_unless(0 == strcmp(question->qname, "\3foo\5local"),
824 fail_unless(0 == strcmp(question->qname, "\3foo\5local"),
836 fail_unless(0 == strcmp(question->qname, cmpbuf),
/seL4-camkes-master/tools/cogent/impl/fs/vfat/cogent/plat/linux/
H A Dmodule.c695 int vfat_find(struct inode *dir, struct qstr *qname, argument
698 unsigned int len = vfat_striptail_len(qname);
701 return fat_search_long(dir, qname->name, len, sinfo);
706 int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir, argument
714 len = vfat_striptail_len(qname);
722 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts,

Completed in 155 milliseconds