Lines Matching full:mtu
107 static void update_pmtu_entry(struct net_pmtu_entry *entry, uint16_t mtu) in update_pmtu_entry() argument
111 if (entry->mtu != mtu) { in update_pmtu_entry()
113 entry->mtu = mtu; in update_pmtu_entry()
125 info.mtu = mtu; in update_pmtu_entry()
138 info.mtu = mtu; in update_pmtu_entry()
168 return entry->mtu; in net_pmtu_get_mtu()
224 int net_pmtu_update_mtu(const struct sockaddr *dst, uint16_t mtu) in net_pmtu_update_mtu() argument
236 old_mtu = entry->mtu; in net_pmtu_update_mtu()
239 update_pmtu_entry(entry, mtu); in net_pmtu_update_mtu()
244 int net_pmtu_update_entry(struct net_pmtu_entry *entry, uint16_t mtu) in net_pmtu_update_entry() argument
252 if (entry->mtu == mtu) { in net_pmtu_update_entry()
256 old_mtu = entry->mtu; in net_pmtu_update_entry()
258 update_pmtu_entry(entry, mtu); in net_pmtu_update_entry()