Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 8 of 8) sorted by relevance

/net/netfilter/
Dnf_conntrack_ftp.c199 static int get_port(const char *data, int start, size_t dlen, char delim, in get_port() argument
207 if (data[i] == delim) { in get_port()
228 char delim; in try_eprt() local
237 delim = data[0]; in try_eprt()
238 if (isdigit(delim) || delim < 33 || delim > 126 || data[2] != delim) { in try_eprt()
249 pr_debug("EPRT: Got %c%c%c\n", delim, data[1], delim); in try_eprt()
255 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt()
262 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt()
269 return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); in try_eprt()
277 char delim; in try_epsv_response() local
[all …]
Dnf_conntrack_expect.c611 char *delim = ""; in exp_seq_show() local
628 delim = ","; in exp_seq_show()
631 seq_printf(s, "%sINACTIVE", delim); in exp_seq_show()
632 delim = ","; in exp_seq_show()
635 seq_printf(s, "%sUSERSPACE", delim); in exp_seq_show()
Dnf_conntrack_sip.c145 const char *limit, bool delim) in sip_parse_addr() argument
163 else if (delim) in sip_parse_addr()
172 else if (delim) in sip_parse_addr()
570 union nf_inet_addr *addr, bool delim) in ct_sip_parse_address_param() argument
584 if (!sip_parse_addr(ct, start, &end, addr, limit, delim)) in ct_sip_parse_address_param()
Dnf_nat_sip.c71 const union nf_inet_addr *addr, bool delim) in sip_sprintf_addr() argument
76 if (delim) in sip_sprintf_addr()
/net/sunrpc/
Daddr.c162 const size_t buflen, const char *delim, in rpc_parse_scope_id() argument
168 if ((buf + buflen) == delim) in rpc_parse_scope_id()
171 if (*delim != IPV6_SCOPE_DELIMITER) in rpc_parse_scope_id()
177 len = (buf + buflen) - delim - 1; in rpc_parse_scope_id()
178 p = kstrndup(delim + 1, len, GFP_KERNEL); in rpc_parse_scope_id()
208 const char *delim; in rpc_pton6() local
216 if (in6_pton(buf, buflen, addr, IPV6_SCOPE_DELIMITER, &delim) == 0) in rpc_pton6()
219 if (!rpc_parse_scope_id(net, buf, buflen, delim, sin6)) in rpc_pton6()
/net/core/
Dnetpoll.c522 char *cur=opt, *delim; in netpoll_parse_options() local
527 if ((delim = strchr(cur, '@')) == NULL) in netpoll_parse_options()
529 *delim = 0; in netpoll_parse_options()
532 cur = delim; in netpoll_parse_options()
538 if ((delim = strchr(cur, '/')) == NULL) in netpoll_parse_options()
540 *delim = 0; in netpoll_parse_options()
546 cur = delim; in netpoll_parse_options()
552 if ((delim = strchr(cur, ',')) == NULL) in netpoll_parse_options()
554 *delim = 0; in netpoll_parse_options()
556 cur = delim; in netpoll_parse_options()
[all …]
Dutils.c86 static inline int xdigit2bin(char c, int delim) in xdigit2bin() argument
90 if (c == delim || c == '\0') in xdigit2bin()
101 if (delim == -1) in xdigit2bin()
120 int delim, const char **end) in in4_pton() argument
136 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in4_pton()
186 int delim, const char **end) in in6_pton() argument
206 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in6_pton()
249 ret = in4_pton(tok ? tok : s, srclen + (int)(s - tok), d, delim, &s); in in6_pton()
/net/ceph/
Dmessenger.c1845 char delim, const char **ipend) in ceph_pton() argument
1849 …if (in4_pton(str, len, (u8 *)&((struct sockaddr_in *)&addr->in_addr)->sin_addr.s_addr, delim, ipen… in ceph_pton()
1854 …if (in6_pton(str, len, (u8 *)&((struct sockaddr_in6 *)&addr->in_addr)->sin6_addr.s6_addr, delim, i… in ceph_pton()
1867 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_dns_resolve_name() argument
1877 delim_p = memchr(name, delim, namelen); in ceph_dns_resolve_name()
1912 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_dns_resolve_name() argument
1923 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_parse_server_name() argument
1927 ret = ceph_pton(name, namelen, addr, delim, ipend); in ceph_parse_server_name()
1929 ret = ceph_dns_resolve_name(name, namelen, addr, delim, ipend); in ceph_parse_server_name()
1949 char delim = ','; in ceph_parse_ips() local
[all …]