LCOV - code coverage report
Current view: top level - include/net - bpf_sk_storage.h (source / functions) Hit Total Coverage
Test: combined.info Lines: 0 2 0.0 %
Date: 2022-03-28 15:32:58 Functions: 0 0 -
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: GPL-2.0 */
       2                 :            : /* Copyright (c) 2019 Facebook */
       3                 :            : #ifndef _BPF_SK_STORAGE_H
       4                 :            : #define _BPF_SK_STORAGE_H
       5                 :            : 
       6                 :            : struct sock;
       7                 :            : 
       8                 :            : void bpf_sk_storage_free(struct sock *sk);
       9                 :            : 
      10                 :            : extern const struct bpf_func_proto bpf_sk_storage_get_proto;
      11                 :            : extern const struct bpf_func_proto bpf_sk_storage_delete_proto;
      12                 :            : 
      13                 :            : #ifdef CONFIG_BPF_SYSCALL
      14                 :            : int bpf_sk_storage_clone(const struct sock *sk, struct sock *newsk);
      15                 :            : #else
      16                 :          0 : static inline int bpf_sk_storage_clone(const struct sock *sk,
      17                 :            :                                        struct sock *newsk)
      18                 :            : {
      19                 :          0 :         return 0;
      20                 :            : }
      21                 :            : #endif
      22                 :            : 
      23                 :            : #endif /* _BPF_SK_STORAGE_H */

Generated by: LCOV version 1.14