Searched refs:md5sig_info (Results 1 – 4 of 4) sorted by relevance
561 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 …]
856 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 …]
544 newtp->md5sig_info = NULL; /*XXX*/ in tcp_create_openreq_child()
455 struct tcp_md5sig_info *md5sig_info; member