Home
last modified time | relevance | path

Searched refs:mru (Results 1 – 10 of 10) sorted by relevance

/net/openvswitch/
Dactions.c783 struct sk_buff *skb, u16 mru, in ovs_fragment() argument
810 IPCB(skb)->frag_max_size = mru; in ovs_fragment()
831 IP6CB(skb)->frag_max_size = mru; in ovs_fragment()
837 ovs_vport_name(vport), ntohs(key->eth.type), mru, in ovs_fragment()
853 u16 mru = OVS_CB(skb)->mru; in do_output() local
863 if (likely(!mru || in do_output()
864 (skb->len <= mru + vport->dev->hard_header_len))) { in do_output()
866 } else if (mru <= vport->dev->mtu) { in do_output()
869 ovs_fragment(net, vport, skb, mru, key); in do_output()
889 upcall.mru = OVS_CB(skb)->mru; in output_userspace()
Ddatapath.h107 u16 mru; member
131 u16 mru; member
Ddatapath.c277 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet()
404 if (upcall_info->mru) in upcall_msg_size()
405 size += nla_total_size(sizeof(upcall_info->mru)); in upcall_msg_size()
508 if (upcall_info->mru) { in queue_userspace_packet()
510 upcall_info->mru)) { in queue_userspace_packet()
565 u16 mru = 0; in ovs_packet_cmd_execute() local
586 mru = nla_get_u16(a[OVS_PACKET_ATTR_MRU]); in ovs_packet_cmd_execute()
589 OVS_CB(packet)->mru = mru; in ovs_packet_cmd_execute()
Dvport.c446 OVS_CB(skb)->mru = 0; in ovs_vport_receive()
Dconntrack.c486 ovs_cb.mru = IPCB(skb)->frag_max_size; in handle_fragments()
500 ovs_cb.mru = IP6CB(skb)->frag_max_size; in handle_fragments()
/net/l2tp/
Dl2tp_ppp.c708 cfg.mru = cfg.mtu; in pppol2tp_connect()
743 session->mtu = session->mru = pmtu - in pppol2tp_connect()
810 if (cfg->mru == 0) in pppol2tp_session_create()
811 cfg->mru = cfg->mtu; in pppol2tp_session_create()
1037 if (put_user(session->mru, (int __user *) arg)) in pppol2tp_session_ioctl()
1041 session->name, session->mru); in pppol2tp_session_ioctl()
1054 session->mru = val; in pppol2tp_session_ioctl()
1056 session->name, session->mru); in pppol2tp_session_ioctl()
1655 session->mtu, session->mru, in pppol2tp_seq_session_show()
Dl2tp_core.h71 int mru; member
121 int mru; member
Dl2tp_netlink.c607 cfg.mru = nla_get_u16(info->attrs[L2TP_ATTR_MRU]); in l2tp_nl_cmd_session_create()
726 session->mru = nla_get_u16(info->attrs[L2TP_ATTR_MRU]); in l2tp_nl_cmd_session_modify()
759 (session->mru && in l2tp_nl_session_send()
760 nla_put_u16(skb, L2TP_ATTR_MRU, session->mru))) in l2tp_nl_session_send()
Dl2tp_debugfs.c175 session->mtu, session->mru, in l2tp_dfs_seq_session_show()
Dl2tp_core.c1821 session->mru = cfg->mru; in l2tp_session_create()