Home
last modified time | relevance | path

Searched refs:md5sig_info (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/net/ipv6/
Dtcp_ipv6.c561 if (!tp->md5sig_info || !tp->md5sig_info->entries6) in tcp_v6_md5_do_lookup()
564 for (i = 0; i < tp->md5sig_info->entries6; i++) { in tcp_v6_md5_do_lookup()
565 if (ipv6_addr_equal(&tp->md5sig_info->keys6[i].addr, addr)) in tcp_v6_md5_do_lookup()
566 return &tp->md5sig_info->keys6[i].base; in tcp_v6_md5_do_lookup()
599 if (!tp->md5sig_info) { in tcp_v6_md5_do_add()
600 tp->md5sig_info = kzalloc(sizeof(*tp->md5sig_info), GFP_ATOMIC); in tcp_v6_md5_do_add()
601 if (!tp->md5sig_info) { in tcp_v6_md5_do_add()
611 if (tp->md5sig_info->alloced6 == tp->md5sig_info->entries6) { in tcp_v6_md5_do_add()
612 keys = kmalloc((sizeof (tp->md5sig_info->keys6[0]) * in tcp_v6_md5_do_add()
613 (tp->md5sig_info->entries6 + 1)), GFP_ATOMIC); in tcp_v6_md5_do_add()
[all …]
/linux-2.6.39/net/ipv4/
Dtcp_ipv4.c856 if (!tp->md5sig_info || !tp->md5sig_info->entries4) in tcp_v4_md5_do_lookup()
858 for (i = 0; i < tp->md5sig_info->entries4; i++) { in tcp_v4_md5_do_lookup()
859 if (tp->md5sig_info->keys4[i].addr == addr) in tcp_v4_md5_do_lookup()
860 return &tp->md5sig_info->keys4[i].base; in tcp_v4_md5_do_lookup()
896 if (!tp->md5sig_info) { in tcp_v4_md5_do_add()
897 tp->md5sig_info = kzalloc(sizeof(*tp->md5sig_info), in tcp_v4_md5_do_add()
899 if (!tp->md5sig_info) { in tcp_v4_md5_do_add()
909 md5sig = tp->md5sig_info; in tcp_v4_md5_do_add()
950 for (i = 0; i < tp->md5sig_info->entries4; i++) { in tcp_v4_md5_do_del()
951 if (tp->md5sig_info->keys4[i].addr == addr) { in tcp_v4_md5_do_del()
[all …]
Dtcp_minisocks.c544 newtp->md5sig_info = NULL; /*XXX*/ in tcp_create_openreq_child()
/linux-2.6.39/include/linux/
Dtcp.h455 struct tcp_md5sig_info *md5sig_info; member